Summary In this lab, you write a while loop that uses a sentinel value to control a loop in a Python program. You also w
Posted: Tue Jul 12, 2022 8:21 am
Summary
In this lab, you write a while loop that usesa sentinel value to control a loop in aPython program. You also write the statements that make up the bodyof the loop.
The source code file already contains the necessary assignmentand output statements. Each theater patron enters a value from 0 to4 indicating the number of stars that the patron awards to theGuideās featured movie of the week. The program executescontinuously until the theater manager enters a negative number toquit. At the end of the program, you should display the averagestar rating for the movie.
Instructions
(please use sypder coding.)
In this lab, you write a while loop that usesa sentinel value to control a loop in aPython program. You also write the statements that make up the bodyof the loop.
The source code file already contains the necessary assignmentand output statements. Each theater patron enters a value from 0 to4 indicating the number of stars that the patron awards to theGuideās featured movie of the week. The program executescontinuously until the theater manager enters a negative number toquit. At the end of the program, you should display the averagestar rating for the movie.
Instructions
(please use sypder coding.)