A python program.

This activity is graded based on performance.

Create a python script (program) based on the narrative below.

Name your file A012_Last name. For instance, my file would be named A012_Huerta

Points will be deducted if you submit a file with an incorrect file name.

Upload your python file.

Narrative

The program calculates the final grade based on the following rules.

Task

Points

Activities

100

Term project

150

Exam 1

250

Exam 2

250

Exam 3

250

TOTAL POINTS

1,000

An average of 70% or more on the exams is required to pass the class.

<700

Failed

<950

Pass

950

Pass with A

Input: activities, group project, exam 1, exam 2 and exam 3 (keyboard).

Output: final grade. When the average of exams is above 70% also display total points (screen).

Create your own test data to test the program under all different possibilities.

Sample Solution