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 0 to 4
# 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 =0 # total of star ratings.
numPatrons =0 # keep track of number of patrons
# Get input.
# Convert to int.
# Write while loop here
# Calculate average star rating
print("Average Star Value:", averageStars)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!