# Nоte: Yоur prоgrаm must use the code provided in the below mаin() function. This includes а# main() function and call to execute the main() function. Do not change this source code. Instead,# copy / paste it into your .py file. Use suitable data entry prompts to capture input values.## Code the following functions using the below "Graphing System" pseudocode to guide you:## ** Function name: get_scores() **# - This function gets called from main().# - This function takes no parameters.# - Create a list that will hold 7 quiz integer scores of your choosing, but at least# 3 of the scores must be unduplicated and the scores should not be in an ascending# or descending order. Example scores: 70, 60, 91, 65, 100, 89, 60# - Using a loop, find the average of 6 quiz scores; drop the lowest score from being# part of the average.# - Output the results by following this model...# Your 7 quiz scores with the lowest grade dropped is: xx.xx# ...where "xx.xx" represents the average of the 6 quiz scores.# - The function returns nothing.## ** Function name: get_title() **# - This function gets called from main().# - This function takes no parameters.# - Prompt the user for title of the graph, storing the result in a string.# - The function returns the string title.## ** Function name: get_list() **# - This function gets called from main().# - This function takes no parameters.# - Using a loop, prompt the user for each quiz score. Each quiz score will be an# integer and as each score is received, fill a quiz scores list. You can assume at# least 2 quiz scores will be entered by the user, but do accept a quiz score to the# quiz scores list if it falls outside of the range of 1 to 10 inclusive. If it does,# provide the user with suitable feedback and try the data entry again. Use "done" as# the sentinel value to exit the loop.# - The function returns the quiz scores list.## ** Function name: print_graph() **# - This function gets called from main().# - This function takes two parameters as title and movies. The "title" represents the# string returned from get_title() and "movies" represents the list of integers # returned from get_list().# - Output the title and a histogram, 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# should appear on a separate line in the graph.# - The function returns nothing. # Example model output, with sample values provided...## Your 7 quiz scores with the lowest grade dropped is: 79.17## Enter a title for the graph: Movie Ratings# Enter integers for the graph...# Enter an integer (or 'done' to finish): 3# Enter an integer (or 'done' to finish): 7# Enter an integer (or 'done' to finish): 10# Enter an integer (or 'done' to finish): 2# Enter an integer (or 'done' to finish): 12# Invalid integer entered. Try again.# Enter an integer (or 'done' to finish): 5# Enter an integer (or 'done' to finish): done# Movie Ratings# * * *# * * * * * * *# * * * * * * * * * *# * *# * * * * *def main(): get_scores() title = get_title() movies = get_list() print_graph(title, movies)main()