Python homework

profileMOT3BOM

Average Scores

rite a python script (with comments) that commutes the average score for an unknown number of students in a file. Specifically your script should:

  • Ask for a filename name (that has scores in it)
  • Open the scores file
  • Verify the scores file opened correctly
  • Read the student's name and their four scores
  • Display the student's name, all of their scores and their average to the screen
  • Writes the students name and the scores' average to a file name "averages.csv"
  • Close both files
  • 10 years ago
  • 15
Answer(1)

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    project_revised.rar