Computer Science, asked by swapanjit6733, 5 hours ago

Consider the following dictionary: { "The Bodyguard":"1992", "Saturday Night Fever":"1977" } select the values

Answers

Answered by priyankadubbaka7
0

Answer:

1992 and 1977 are the values

Answered by presentmoment
1

The values are: "1997" and "1992"

Explanation:

In python, a dictionary can be defined as a collection of unique, unordered items. Each item is in the form of a key-value pair.

Key: Pair

"The Bodyguard": "1992"

"Saturday Night Fever": "1977"

The keys in the given dictionary are "The Bodyguard", "Saturday Night Fever", and the values corresponding to these keys are "1997" and "1992"

You can use the values() method will return the values from the dictionary.

Syntax: dictionary_name.values()

Similar questions