QUESTION 11 Python
Write a python program determine the winning team in a football game. There are 4 quarters in a game (assuming no overtime). You can use Team A and Team B for the teams. Ask the user to enter the number of points scored in each quarter by each team. At the end, determine which team won. You should use a for or while loop for this program.
Hey,
Note: Brother while uploading on HomeworkLib, the indentations get changed. So, I request you to verify it with screenshots. Brother in case of any queries, just comment in box I would be very happy to assist all your queries.
pt1=0
pt2=0
for i in range(4):
print('Enter the points scored by team A for quater ',(i+1),':
',end='')
num=int(input(''));
pt1+pt1+num;
for i in range(4):
print('Enter the points scored by team B for quater ',(i+1),':
',end='')
num=int(input(''));
pt2+pt2+num;
if(pt1>pt2):
print('Team A wins');
else:
print('Team B wins');

Kindly revert for any queries
Thanks.
QUESTION 11 Python Write a python program determine the winning team in a football game. There...
Just need help solving this CSIS 123 Chapter 5 Controls Structures – Repetition/Looping Fall is football season. For this assignment, you will be writing a football score board program using the looping structures that you learned in Chapter 5. Initially, display a banner telling your user about the program. Then, prompt them for the name of the home team and the visitor team USING A FOR LOOP structure, prompt for the number of touchdowns and number of field goals for...
Football Game Scores Write a C++ program that stores the following data about a football game in a structure: Field Name Description visit_team string (name of visiting team) home_score int visit_score int The program should read the number of games from a data file named “games.txt”, dynamically allocate an array of structures for the games using one structure for each game, and then read the information for each game from the same file (visiting team, home score, visiting team’s score)....
Please write a Python program to check a tic-tac-toe game and show its winning result in detail. This is an application program of a 3-dimensional list or array. Your complete test run output must look as follows. This test really checks to make sure your program is performing perfectly to check every possible winning situation for X and O. GAME 0 is as follows: OOO OOO OOO O won by row 1 O won by row 2 O won by...
15. At the start of overtime in a National Football League game, a coin is flipped to determine which team wil kick off and which will receive. The question of interest is how much advantage (if any) is given to the team that wins the coin flip at the start of the sudden death overtime period. In the overtime games played between 1974 and 2009, the winner of the coin flip won the game in 240 of the 428 games...
USE IDLE PLATFORM FOR PYTHON PLEASE Write a Python program that creates a list that contains players of your favorite teams. The program then should ask the user to enter the name of a player. If the player is in your list, display a message indicating that the player is in the team. Otherwise, the program should display a message stating that the player isn't on the team.
write a python program to guess a number between 1 to 9. The user is prompted to enter a guess. when the user's guess in not correct, ask them for another guess. when the user guesses the correct number, print "correct" and exit the program #use these two lines to begin the program: from random import randint correctNum=randit(0, 9) #now write a while loop to play the game
In Java Problem Description/Purpose: Write a program that will compute and display the final score of two teams in a baseball game. The number of innings in a baseball game is 9. Your program should read the name of the teams. While the user does not enter the word done for the first team name, your program should read the second team name and then read the number of runs for each Inning for each team, calculate the...
Java
BasketBall Bar Chart Write a program that allows you to create a bar chart for the active members of a basketball team during a game. (Recall: there are only 5 active players on the court per team in a standard basketball game.) Your program should do the following tasks: 1) Prompt the user to store the first name of the five players 2) Prompt the user to enter the points scored by each player a. Use a do...while loop...
16. The table shows the points scored by a football team during each quarter of the game. How many points did the team score during th entire game? Explain how you found your answer. 7EE.1, ZEE.2 First Quarter Second Quarter Third Quarter Fourth Quarter 3p 5p+2 1p p 4 m +1
Write a java netbeans program. Project Two, Super Bowl A text file named “SuperBowlWinners.txt” contains the names of the teams that won the Super Bowl from 1967 through 2019. Write a program that repeatedly allows a user to enter a team name and then displays the number of times and the years in which that team won the Super Bowl. If the team entered by the user has never won the Super Bowl, report that to the user instead. For...