Question: ###Task 2 Assume, you have been given a tuple. movies = ( (Best Picture, Nomadland, 7.4), (Best Adapted Screenplay, The Father, 8.3), (Best Animated Feature
###Task 2
Assume, you have been given a tuple.
movies = (\ ("Best Picture", "Nomadland", 7.4),\ ("Best Adapted Screenplay", "The Father", 8.3),\ ("Best Animated Feature Film", "Soul", 8.1),\ ("Best International Feature Film", "Another Round", 7.8)\ )
Write a Python program that prints the information about 93rd Academy Awards with the corresponding IMDb movie rating from a tuple. Your program should print the award category, movie name, and its ratings in the following way:
===================================================================
'Nomadland' won the 'Best Picture' category; IMDb Rating: 7.4/10\ 'The Father' won the 'Best Adapted Screenplay' category; IMDb Rating: 8.3/10\ 'Soul' won the 'Best Animated Feature Film' category; IMDb Rating: 8.1/10\ 'Another Round' won the 'Best International Feature Film' category; IMDb Rating: 7.8/10
===================================================================
Hint: You need to handle the quotation marks as a part of the output. [Must use Tuple unpacking before printing.]
===================================================================
movies = ( ("Best Picture", "Nomadland", 7.4), ("Best Adapted Screenplay", "The Father", 8.3), ("Best Animated Feature Film", "Soul", 8.1), ("Best International Feature Film", "Another Round", 7.8) )
### Write your code here ###
### End Code ###
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
