Data and the total number of points for team

Assignment Help Basic Computer Science
Reference no: EM131808580

Please answer back in Python.

Statistics on football games are often displayed as the number the points each team (home and visitor) scored in each of four quarters. Write a program to create an array for the home team scores and another array for the visiting team scores. The program should ask for the name of the home team and the visiting team. It should also ask for the number of points each team scores per quarter. Then, based on that input, it will create a text chart with the data and the total number of points for each team.

The program should look like this. Remember, anything after a ">" is user input. Also, don't worry if you can't get the number to line up nicely in columns.

Enter the home team's name?

>Mountaineers

Enter the visiting team's name?

>Fighting Irish

How many points did the Mountaineers score in quarter 1? 

>7

How many points did the Fighting Irish score in quarter 1?

>7

How many points did the Mountaineers score in quarter 2?

>10

How many points did the Fighting Irish score in quarter 2?

>7

How many points did the Mountaineers score in quarter 3?

>0

How many points did the Fighting Irish score in quarter 3?

>14

How many points did the Mountaineers score in quarter 4?

>21

How many points did the Fighting Irish score in quarter 4?

>0

Total Statistics

Quarter Mountaineers Fighting Irish

1           7           7

2          10          7

3           0         14

4          21           0

Total    38          28

Reference no: EM131808580

Questions Cloud

Analyze a family spending habits : For this assignment you are going to analyze a family's spending habits by creating a program that performs arithmetic calculations.
Confidence interval for the population mean inventory level : Is the average of the measured inventory levels significantly different from 500, which is the number, used for management budgeting purposes?
Prepare an entry to allocate over- or underapplied overhead : Required: Prepare an entry to allocate over- or underapplied overhead to Work in Process, Finished Goods and Cost of Goods Sold
What was the companys cost of goods sold amount : Taylor Company's work in process account increased by $1,000. What was the company's cost of goods sold amount? Explain EVERY step.
Data and the total number of points for team : Then, based on that input, it will create a text chart with the data and the total number of points for each team.
Analyze the financial standing of your company by comparing : Analyze the financial standing of your company by comparing Company A results from 2016 to Company B
What is the pw and equivalent annuity for felix salary : Felix Jones, a recent engineering graduate, expects a starting salary of $35,000 per year. His future employer has averaged 5% per year in salary increases.
Write a program to collect input from the user : In this assignment you will write a program to collect input from the user for two complete addresses
Prepare a bank reconciliation as of september : The bank deducted $135 for an NSF check from a customer deposited on September 15. Prepare a bank reconciliation as of September 30

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd