2. Write a Python program to compute the average of three integer quiz grades for a single student. You can assume the user types in numbers only. You can review "samplea07a.py" (Week 7) if you are unfamiliar with converting text input to an integer.
Added by Amanda W.
Close
Step 1
Prompt the user to enter the first quiz grade and store it in a variable. Show more…
Show all steps
Your feedback will help us improve your experience
Gio Maya and 70 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Problem 1: Write a Python program that calculates the average of three integer values. Prompt the user to enter three integers, your program should calculate the average and display it.
Shelayah R.
1. Create a python program that computes students average 2. The user will input the following (Name, Math, Science and English Grade) 3. Create a Class called Students 4. Use the init function to collect the student information (Name, Math, Science and English Grade) 5. Create a function that will perform the computation of the average 6. Create a function that will display the result SAMPLE OUTPUT: Name: John Math: 90 Science: 90 English: 90 Average: 90 (Passed)
Oswaldo J.
1. Create a python program that computes students' average 2. The user will input the following (Name, Math, Science, and English Grade) 3. Create a python Class called Students 4. Use the init function to collect the student information (Name, Math, Science, and English Grade) 5. Create a function that will perform the computation of the average 6. Create a function that will display the result
K S.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD