write a program that asks the user for three test scores. the program should then report the average of…

write a program that asks the user for three test scores. the program should then report the average of these three scores. you will need:\n\n• a call to input. you should only have one line that has this!\n• a for loop.\n• arithmetic operators.
Answer
Explanation:
Step1: Get user input
scores_str = input("Enter three test scores separated by commas: ") scores_list = [float(x) for x in scores_str.split(',')]
Step2: Calculate sum
total = 0 for score in scores_list: total += score
Step3: Calculate average
average = total / len(scores_list)
Answer:
print(average)