x = True; y = (1,2); z = None
person = {
'name' : 'john', #left hand side: hashing table, can't do amendment
'age' : 10,
'gender' : 'male',
0: 1,
x : False,
y : 10,
z : 10,
True : False,
None : 10,
(1,2) : 10, # [1,2] : 10 is muable, so can't put into dictionary
}
print(type(person), id(person), person)
print(person['name'], person['age'])
person['age'] = 11 # muable
print(person)
person['xyz'] = 10 # add information anytime
person['abc'] = 9
print(person)
del person['xyz']
print(person)
l = [1,2,3]
del l[0]
print(l)