Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Python 3.6) Write a Program and its respective Algorithm that looks at the source of http://cgi.soic.indiana.edu/~dpierz/mbball.html (A copy of the IU men's basketball team record

Python 3.6) Write a Program and its respective Algorithm that looks at the source of http://cgi.soic.indiana.edu/~dpierz/mbball.html (A copy of the IU men's basketball team record page.). Use regular expressions to find all the games IU has played in this year and calculate the total number of wins and losses. (Including exhibition games.). The output should look like the following:

Wins: 18.

Losses: 12.

(Optional.) Bonus [10 pts]. Extend your code from the above part to also calculate the total difference in points scored in all the games (A game that finished 68-71 would have a difference of 3 points, 85-52 a difference of 33 points etc.).

Total Difference: 431.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions