Python: how to work with dictionaries?
Example:
dictionary = {"name": "John", "age": 30}
Dictionaries are mutable, unordered collections of items.
Solution:
print(dictionary.get("name"))
Example: Solution:Python: how to work with dictionaries?
Dictionaries are mutable, unordered collections of items.
dictionary = {"name": "John", "age": 30}
print(dictionary.get("name"))