Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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,

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.]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions