Computer Science
Fill in the blanks:
To create a new dictionary from a set of keys, _________ function is used.
Python Dictionaries
3 Likes
Answer
fromkeys()
Answered By
3 Likes
Related Questions
Fill in the blanks:
To delete an element using a key, _________ is used.
Fill in the blanks:
To get all the keys of a dictionary, _________ method is used.
Fill in the blanks:
The copy( ) method creates a _________ copy of a dictionary.
Fill in the blanks:
The _________ statement will raise an error if the given key is not found in the dictionary.