Computer Science
We cannot delete a dictionary once created.
Python Dictionaries
2 Likes
Answer
False
Reason — We can delete a dictionary in Python using the del statement.
Answered By
2 Likes
Related Questions
A tuple cannot store list as an element.
Creating individual values from a tuple's elements is called packing.
Which of the statement(s) is/are correct?
- Python Dictionary is an unordered collection of items.
- Python Dictionary is a mapping of unique keys to values.
- Dictionary is mutable.
- All of these
If tup = (20, 30, 40, 50), which of the following is incorrect?
- print (tup[3])
- tup[2] = 56
- print (max(tup))
- print (len(tup))