Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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