# creation of a dictionary
name2age = {"Jane": 21, "Lucy": 34, "David": 1, "Tom": 5, "Peter": 6}

print name2age.items()  # the key-value pairs

# dictionary creation from key-value pairs
name2kids = dict( [("Jane", 1), ("Lucy", 3), ("David",0), ("Tom", 0), ("Peter", 0)])
print name2kids
