Question: I need help with creating a python program. In volleyball, there are 5 matches in a game. My daughters volleyball league would like a program

I need help with creating a python program. In volleyball, there are 5 matches in a game. My daughters volleyball league would like a program that will accept the number of points that each team scored in the 5 matches and print out the data along with the winner. The winning team is that one that wins the most matches. Note: It is not necessarily the team that scores the most number of points.

Sample Run

This program will track the scores in a volleyball game.

Enter the score that team 1 got on match 1? >> 25

Enter the score that team 2 got on match 1? >> 20

Enter the score that team 1 got on match 2? >> 25

Enter the score that team 2 got on match 2? >> 20

Enter the score that team 1 got on match 3? >> 15

Enter the score that team 2 got on match 3? >> 25

Enter the score that team 1 got on match 4? >> 10

Enter the score that team 2 got on match 4? >> 25

Enter the score that team 1 got on match 5? >> 25

Enter the score that team 2 got on match 5? >> 20

Team 1 Team 2 Winner

Match 1 25 20 Team 1

Match 2 25 20 Team 1

Match 3 15 25 Team 2

Match 4 10 25 Team 2

March 5 25 20 Team 1

Winner is Team 1.

the output should look like that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!