Write a program that will ask for two integers that represent the score of the game. The scores will be between 0 and 100 inclusively.
Write a program that will ask for two integers that represent the score of the game. The scores will be between 0 and 100 inclusively. Count how many games UCF will win before they lose one. Once they lose one, print "The season is over" and print out the number of games UCF won. There will be no ties in the game.
Example:
Game #1
What did UCF score: 54
What did the opponent score: 6
Game #2
What did UCF score: 18
What did the opponent score: 16
Game #3
What did UCF score: 70
What did the opponent score: 0
Game #4
What did UCF score: 30
What did the opponent score: 32
The season is over.
UCF won 3 games.
Step by Step Solution
3.37 Rating (153 Votes )
There are 3 Steps involved in it
Step: 1
Heres a Python program that will ask for the scores of the games and count how many gam...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