56.
What will be output of following code:
t=(4,5,6,7,8,9,3,2,1)
print(t[5:-1])
a. (8,9,3,2,1)
b. (9,3,2)
c. (4,5,6,7)
d. (2,3,9)
57.
Dictionaries are also known as ________.
a. mappings
b. hashes
c. associatve arrays
d. all of the above
58.
Dictionaries are _________ type of python.
a. Mutable
b. Immutable
c. simple
d. complex
59.
Mr. Suboth is working with a dictionary in python for his project. He wants to display the key, value pair but confuse out of these statments, choose the correct statememt for him:
a. dict.values()
b. disct.keys()
c. dict.keysvalues()
d. dict.items()
60.
The fromkeys() method assigns ________ value to key in dictionary by default.
a. 0
b. None
c. Empty
d. Blank