Practice #3
Lesson 12 of 12 in Coddy's File Handling in Python course.
Challenge
MediumTasks:
- Read the sample CSV file named
scores.txtprovided (See example below). - Determine the highest score in each subject and the student who achieved it.
- Display the calculated information in a readable format (See example below).
Example CSV File - scores.txt:
Name,Math,Science,History
Alice,85,90,78
Bob,92,78,85
Carol,78,92,88
David,88,82,90
Eve,95,88,75Example Output:
Highest Scores:
Math: Eve (95)
Science: Carol (92)
History: David (90)Try it yourself
# Write code here