nested dictionary python w3 print keys and values code example Example: dictionary in python shapes={"square": 90, "triangle": 60}