Question: Question 6 1 pts If x = ('A':1, 'B:2, 'C':3), what does x.keys() do? You need to select ALL correct statements: The dictionary X consists
Question 6 1 pts If x = ('A':1, 'B:2, 'C':3), what does "x.keys()" do? You need to select ALL correct statements: The dictionary "X" consists of key-value pairs, where A,B,C are the keys and 1,2,3 are the values x.keys selects all keys of x If we want to get a list of the keys of x, we can use the list function like this: "list(x, keys))" If we want to get a list of the values of x, we can use the list function like this: "list(x.values()
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
