Question
Python program that records the users pitch and put score for 10 holes. Rules: Only int scores greater than zero. If score is over 6
Python program that records the users pitch and put score for 10 holes. Rules: Only int scores greater than zero. If score is over 6 for that hole record 6. After score is entered display max individual score and min individual score. should also display if the score is equal to a par of 40. something like "you parred for the course." If score is over 40 display "your shot (insert number) over the 40 par." If the score is under 40 message should display you shot (insert number) under par. Please include indentations with the answer.
output should look like:
Please enter score for hole 1: 2
Please enter score for hole 2: 4
Please enter score for hole 3: erfefws
Please enter a valid score
Please enter score for hole 3: 0
Please enter score higher than zero
Please enter score for hole 3: 2
Please enter score for hole 4: 3
Please enter score for hole 5: 3
Please enter score for hole 6: 7
Please enter score for hole 7: 1
Please enter score for hole 8: 5
Please enter score for hole 9: 2
Please enter score for hole 10: 4
The Min score is 2
The Max Score is: 6
You shot 8 under par
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
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