Question: Its python Write a Python program that calculates the average score of three homework scores. Then after the calculation, print out the name and average

Its python
Its python Write a Python program that calculates the average score of
three homework scores. Then after the calculation, print out the name and
average score of this person. Input: first name, homework1 score, homework2 score,
homework3 score. Output: a) a line will be appended to the data
file (testdata.txt), this line consists of the first name and the letter

Write a Python program that calculates the average score of three homework scores. Then after the calculation, print out the name and average score of this person. Input: first name, homework1 score, homework2 score, homework3 score. Output: a) a line will be appended to the data file (testdata.txt), this line consists of the first name and the letter grade, and b) prints a line to the screen that summarizes the calculation. Remember, the file testdata.txt already has data in it. Note: If the average grade is C+ and below, the comment will be 'You need to work harder..." If the average is B-, B, and B+, then the comment will be "Good work." If the average is A- and above, then the comment will be "Excellent!" The grading scheme is as follows Letter grade Percentage to 94% A+ 100% A ". ###***** ******* # Course: CMPT 140 Introduction to Computing Science and Programming I # Instructor: Dr. Herbert H. Tsang # Description: Give a brief description for homework 1> # Due date: %23 # Author: # Input: # Output: # I pledge that I have completed the programming assignment independently. # I have not copied the code from a student or any source. # I have not given my code to any student. # Sign here: ######

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!