Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Exercise 5 Write a complete Python program including minimal comments (file name

ID: 3669297 • Letter: E

Question

Exercise 5 Write a complete Python program including minimal comments (file name, your name, and problem description) that solves the following problem with the main function: This will be the extension to Exercise 3. Copy the program for Exercise 3 as Exercise 5 using the command below, then start from there. cp exercise7p3.py exercise7p5s.py Problem Specification: Write a program that asks the user for a score which ranges between 0 and 100 inclusive. If the score is with in the valid range, the program should check for standing: Good if the score is 73 or higher, . Pass if the score is 60 or higher but lower than 73, . Fail if the score is below 60. Your program should print a message if the number is invalid as shown in the sample runs. You program should display an appropriate input prompt as shown in the sample runs. Sample run #1: Enter a score (0 to 100): 60 60 is Pass. Sample run #2: Enter a score (o to 100): 10 10 is an invalid number. The number should be between 0 and 100 inclusive Sample run #3; Enter a score (0 to 100): 100 100 is Good. Sample run #4: Enter a score (O to 100): 110 110 is an invalid number. The number should be between o and 100 inclusive

Explanation / Answer

# This program adds two numbers provided by the user

# Store input numbers
n = int(input('Enter first number: [0-100] : '))
if n >= 0 and n <= 100:
if n >= 73:
print('{0} is Good'.format(n))
elif n>=60:
print('{0} is Pass'.format(n))
else:
print('{0} is Fail'.format(n))
else:
   print('{0} is invalid number'.format(n))
   print('The number should be between 0 and 100 inclusive')