Question: Current Grade Program in Python Write a program that calculates your current grade in a course with 5 categories of assignments: Quizzes Projects Activities Attendance
Current Grade Program in Python
Write a program that calculates your current grade in a course with 5 categories of assignments:
- Quizzes
- Projects
- Activities
- Attendance
- Exams
The program should take as input:
- The name of the student
- The name of the course
- Weights of each assignment category as a floating point value between 0 and 1, in this order:
a. Quizzes b. Projects c. Activities d. Attendance e. Exams
4. The average score for each category as a float between 0 and 1, in this order:
a. Quizzes b. Projects c. Activities d. Attendance e. Exams
---------------------------------------------------------
The program should output:
A formatted sentence with the student's name and grade in the course. For example:
Hi Ryan, You have a 99.9% in your Advanced Quantum Mechanics course.
For example, with the following inputs:
Enter student's name: Ryan Enter course name: Advanced Quantum Mechanics Enter quizzes weight: .1 Enter projects weight: .2 Enter activities weight: .3 Enter attendance weight: .1 Enter exams weight: .3 Enter quizzes average: 1 Enter projects average: .85 Enter activities average: .9 Enter attendance average: .95 Enter exams average: .87
the output should be something like this:
Hi Ryan, You have a 89.6% in your Advanced Quantum Mechanics course.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
