Computer Science, asked by anshimajaiswal1610, 3 months ago

what is the output produced by the following code: d1={5:[6,7,8],"a":(1,2,3)}
print(D1. keys())
print (D1. values())​

Answers

Answered by harshvirsing55
36

Question:-

what is the output produced by the following code:

d1={5:[6,7,8],"a":(1,2,3)}

print(d1. keys())

print (d1. values())​

Answer:

dict_keys([5, 'a'])

dict_values([[6, 7, 8], (1, 2, 3)])

Note:- Hey mate there is an mistake in your question ,in print(D1.keys)  instead of using d1 you used D1. Dont make this mistake again because Python is an case sensitive language it shows error.

Answered by swaritsingh2600
0

Answer:

hdmhdmydmydmurjurkurjurkurhrumr

Similar questions