Slicing
Concatenation
Deletion of elements
Iteration
keys()
getkeys()
allkeys()
keyvalues()
A collection of ordered and mutable data
A collection of unordered and mutable data with key-value pairs
A collection of immutable key-value pairs
A collection of values only
Returns None
Throws a KeyError
Creates a new key with a default value
Crashes the program
Clears all key-value pairs
Updates a specific key
Merges another dictionary into the current one
Removes all values
copy = list(original)
copy = original[:]
copy = original.copy()
All of the above
What is the output when we execute
list("hello") ?
['h', 'e', 'l', 'l', 'o']
[' hello']
['llo']
['olleh']
list
set
tuple
dictionary