(C)
these
given key is not found in the dictionary?
7. Which of the following is correct with respect :
(d) all of these
(a) del statement by pop()
(c) getitem()
to above Python code?
d = {"a":3,"b":7}
(a) a dictionary d is created.
sya and b are the keys of dictionary d.
(c) 3 and 7 are the values of dictionary d.
(d) All of these
8. What would the following code print ?
d={"spring': 'autumn', 'autumn': 'fall', 'fall': 'spring')
print (d['autumn'])
(a) autumn fall
by
(C) spring (d) Error
9. What is printed by the following statements ?
D1= {"cat":12, "dog":6, "elephant":23, "bear":20}
print("dog" in D1)
(a) True (b) False
Error (d) None
10. What is printed by the following statements ?
D1 = {"cat":12, "dog":6, "elephant":23, "bear":20}
print(25 in D1)
(a) True (b) False
(c) Error (d) None
Answers
Answered by
0
I like the year again a good time to day basis for further details regarding the year again when a good time to day basis for further information please login to day basis of cost price against face of NCERT Book of Mormon of the video formats in gujarati a great time table for your time to day life is not a big
Similar questions