Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Please create a Python program that reads in the attached text file (hw4.txt) and makes the following output: ( 30 points) a. Win-Losses record

image text in transcribed
image text in transcribed
1) Please create a Python program that reads in the attached text file (hw4.txt) and makes the following output: ( 30 points) a. Win-Losses 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. * https://wsuathletics.com/sports/mens- basketball/schedule?path=mbball * Please populate from the last ten games 2) Please create a Python program that prints a bill for a cable TV subscriber. The clerk will input the following: ( 20 points) a. First and last name b. type of service (basic $50 or premium $90 ). c. If premium, how many pay-per-view channels ( $9.99 for each) d. taxes on basic service =$6.50 and $9.25 on premium. (only on part a one-time charge)) e. Is there a past balance? If so, how much do they owe, and add 10% on to the balance owed? f. Print out totals that the owner must pay at the bottom. Use your discretion on what a bill would look like. Output examples: (please print out the bill in a professional format) Output: basic =$50.00+$6.25=$56.25 premium + one extra channel =$90+9.99+9.25 (taxes) +100 (existing balance +10=$110)=$214.24 total balance due 1-8-2021:Wayne State: 87: Lake Superior State: 76 1-9-2021: Wayne State: 64: Lake Superior State: 75 1152021: Wayne State: 86: Davenport: 68 1162021: Wayne State: 88: Davenport: 75 1222021: Wayne State: 67: Northwood: 74 1232021: Wayne State: 66: Northwood: 67 1262021: Wayne State: 58: Ashland: 50

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Distributed Relational Database Architecture Connectivity Guide

Authors: Teresa Hopper

4th Edition

0133983064, 978-0133983067

More Books

Students also viewed these Databases questions