1. Engineering
  2. Computer Science
  3. python program that records the users pitch and put score...

Question: python program that records the users pitch and put score...

Question details

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

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution