June 2017
Beginner
352 pages
8h 39m
English
As for lists, to remove an entry from a dictionary, we use the del keyword:
>>> z = {'H': 1, 'Tc': 43, 'Xe': 54, 'Un': 137, 'Rf': 104, 'Fm': 100}>>> del z['Un']>>> z{'H': 1, 'Fm': 100, 'Rf': 104, 'Xe': 54, 'Tc': 43}
Read now
Unlock full access