(Solved): ((IN PYTHON))
thumbs up to whoever can help. needs to be in python.
in python! thank you!!
...
((IN PYTHON))
thumbs up to whoever can help. needs to be in python.
in python! thank you!!
Program Specifications Write a program to calculate a course grade given points for homework, quizzes, midterm exam, and final exam. Grades are calculated differently for undergrads, grads and distance learners. Note: this program is designed for incremental development. Complete each step and submit for grading before starting the next step. Only a portion of tests pass after each step but confirm progress. Step 1 (2 pts). Read from input student status (str). If input is not one of "UG" (undergrad), "G" (grad), or "DL" (distance learner), print an error message and exit the program. Otherwise read from input floats for homework points, quiz points, midterm exam score, and final exam score. Calculate each category's average using maximum points for homework (800), quizzes (400), midterm exam (150), and final exam (200). Output category averages as a percentage using print(f"Homework: \{homework: 2 . 1f \}\%"). Submit for grading to confirm two tests pass.
Step 3 ( 2 pts). Calculate the course average based on student status using the table below. Output the course average. Submit for grading to confirm five tests pass. Ex: If the input is: \( \begin{array}{llll}\mathrm{G} \\ 800.0 & 400.0 & 100.0 & 100.0\end{array} \) The output is: Homework: \( 100.0 \frac{\%}{8} \) Quizzes: \( 100.0 \frac{\%}{8} \) Midterm: \( 66.7 \frac{\%}{8} \) Final Exam: \( 50.0 \frac{\%}{8} \) G average: \( 65.8 \frac{2}{8} \) Step 4 (4 pts). Identify the course letter grade based on the course average using the table below. Output the course letter grade. Submit for grading to confirm all tests pass. Ex: If the input is:
The output is: Homework: \( 75.0 \) ? Quizzes: \( 75.0 \) ? Midterm: \( 80.0 \) ? Final Exam: \( 75.0 \) ? DL average: \( 77.0 \) ? Course grade: C