Home / Expert Answers / Computer Science / start-by-downloading-the-following-program-from-brightspace-and-opening-it-in-idle-run-your-program-pa716

(Solved): Start by downloading the following program from Brightspace and opening it in IDLE :Run your program ...



Start by downloading the following program from Brightspace and opening it in IDLE :Run your program and enter the number 1 for the movie rating. What does the program output and why?Change the case values to characters, ' 1 ', ' 5 ' and ' 10 '. What happens when the program is run and why? Change the program back by removing the quotes. Have the inputs

4,5

and

6

all give the So So message. Add cases for the other values, 2,3,7,8 and 9. Use your own ratings for these. Test your program. Run your program with an input of

12

. What happens and why? Add a case that catches all illegal values and prints an appropriate message. It should print: The movie was not rated properly! The statement: print('The Movie rating was ') was placed before the match statement. For what cases does this statement execute? How does this placement of the statement save you typing time?



We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe