# Write a Python script with the following functions:# get_s…
# Write a Python script with the following functions:# get_scores()# This function prompts for 7 Quiz scores to fill a list of integers# Find the average of the scores with the lowest one dropped# Print this to the console (Example: “Your quiz score with the lowest grade dropped is:)# Call this function from main and return nothing# get_title()# This function takes no parameters and returns a String.# Request a String from the user to be used for the title of the graph.# get_list()# This function takes no parameters and returns a list of integers from 1 to 10 (inclusive).# Ask the user to enter a list of integers; they can enter as many integers as they like.# Do not allow them to enter anything outside the bounds of 1 to 10# The function returns the list of integers.# print_graph(title, nums)# This function takes a String (the graph title) and a List of Integers as parameters.# Print the title and a histogram to the command line using the List of Integers as data.# Each value in the List is the number of stars to print on that line.# Each element in the List is a separate line in the graph.# Example output:#Enter the title for the graph: Movie Ratings #Enter a rating between 1 and 10 (or 0 to finish): 3 #Enter a rating between 1 and 10 (or 0 to finish): 7 #Enter a rating between 1 and 10 (or 0 to finish): 10 #Enter a rating between 1 and 10 (or 0 to finish): 12 #Invalid number. Please enter a number between 1 and 10. #Enter a rating between 1 and 10 (or 0 to finish): 5 #Enter a rating between 1 and 10 (or 0 to finish): 0# Movie Ratings# * * * # * * * * * * *# * * * * * * * * * *# * * * * * def main(): get_scores() title = graph_title() movies = get_list() print_graph(title, movies) main()
Read Details