Question: The output need to be exactly like the example! 2. Volleyball. Design and implement a simulation of the game of volleyball (called q2.py). Normal volleyball

The output need to be exactly like the example!
2. Volleyball. Design and implement a simulation of the game of volleyball (called q2.py). Normal volleyball is similar to racquetball in that a team can only score on its own serve. A game is played until a team has at least 15 points and at least 2 points more than their opponent. Your simulation should prompt the user for a number of games to play, as well as the skill levels of both teams, and should print out the observed probability that each team wins. The skill level is the probability that the team wins the point on their serve. The initial service for each game is random: half the time team A serves first, and half the time team B serves first. Your code should display clear evidence of top-down design. Example 1 | This program simulates the game of volleyball. 2 The first team to score 15 points wins. 3 Teams can only score on their serve and must win by at least 2. 4 5 Number of games? 100 6 A's skill level? 0.6 7 B's skill level? 0.65 8 9 A won 30 games (30.000000%) B won 70 games (70.000000%) 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
