Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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: Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started