Scenаriо. A prоgrаm trаcks mоvie ratings entered by the user. Task:1. Create an empty dictionary called movies.2. Ask the user how many movies to add (prompt: "How many movies? ").3. Loop that many times and for each movie:• ask for the name (prompt: "Enter movie name: "),• ask for the rating (prompt: "Enter rating: "),• store in the dictionary.4. Print each movie and rating in the format shown below. movies = {} count = int(input("How many movies? ")) for i in range(count): name = input("Enter movie name: ") rating = input("Enter rating: ") movies[name] = rating for name, rating in movies.items(): print("Movie:", name + ", Rating:", rating) Example input / output:How many movies? 2Enter movie name: InceptionEnter rating: 9Enter movie name: AvatarEnter rating: 8Movie: Inception, Rating: 9Movie: Avatar, Rating: 8