python dictionary hashmap code example
Example 1: hashmap python
my_dict={'Dave' : '001' , 'Ava': '002' , 'Joe': '003'}
print(my_dict.keys())
print(my_dict.values())
print(my_dict.get('Dave'))
Example 2: hash table in python
# In python they are called dictionarys
dict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'}
name = dict["Name"] # Zara