Question: # MovieGuide.py - This program allows each theater patron to enter a value from 0 to 4 # indicating the number of stars that the
# MovieGuide.py This program allows each theater patron to enter a value from to
# indicating the number of stars that the patron awards to the Guide's featured movie of the
# week. The program executes continuously until the theater manager enters a negative number to
# quit. At the end of the program, the average star rating for the movie is displayed.
totalStars # total of star ratings.
numPatrons # keep track of number of patrons
# Get input.
# Convert to int.
# Write while loop here
# Calculate average star rating
printAverage Star Value:", averageStars
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
