
print('6. Remove yourself from the dictionary')
ages = {'Peter': 52, 'Hannah': 19, 'Simone': 32, 'myself': 28}
del(ages['myself'])
print(ages)     # to remove an element from a list you need to use the function del()
