Question: Please create a Python program that reads in the attached text file (hw4.txt) and creates the following output: (30 points) a. Win Loss record for

Please create a Python program that reads in the attached text file (hw4.txt) and creates the following output: (30 points)
a. Win Loss record for the season to date
b. Average score Wayne State and opponents (i.e., WSU 69, others 65)
c. Average winning margin
d. Average losing margin
e. Biggest win
f. Worst defeat
hw4.txt
1-8-2021:Wayne State:87:Lake Superior State:76
1-9-2021:Wayne State:64:Lake Superior State:75
1-15-2021:Wayne State:86:Davenport:68
1-16-2021:Wayne State:88:Davenport:75
1-22-2021:Wayne State:67:Northwood:74
1-23-2021:Wayne State:66:Northwood:67
1-26-2021:Wayne State:58:Ashland:50

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!