Question: Hello I need help with my python class. Here is the question below. Baseball Team Manager MENU OPTIONS 1 Calculate batting average 2 - Exit
Hello I need help with my python class. Here is the question below.
Baseball Team Manager
MENU OPTIONS
1 Calculate batting average
2 - Exit program
================================================================
Menu option: 1
Calculate batting average...
Official number of at bats: 10
Number of hits: 3
Batting average: 0.3
Menu option: 1
Calculate batting average...
Official number of at bats: 11
Number of hits: 4
Batting average: 0.364
Menu option: 3
Not a valid option. Please try again.
MENU OPTIONS
1 Calculate batting average
2 - Exit program
Menu option: 2
Bye!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
