#dictionaries, key value pairs-Szótárak, kulcs-érték párosok (java hash-maps, javascript object literals)
                     #key:value
name_age={'Dóra':28, 'Betti':38, 'Ilona':40, 'Erzsó':53}

# name_age['Andi']=56
#
# print(name_age)
#
# name_age.pop('Ilona')
# print(name_age)

# print(name_age.get("Erzsó"))

# for key in name_age.keys():
# for key in name_age.keys():
#     print(key)



# for key in name_age.values():
#     print(key)

# for key, value in name_age.items():
#     print(key, value)

# dict1={'adat1':[1,2,3,4,5,6], 'adat2':[78], 'adat3':(9,8,7,6,5)}

name_age2={'Ili':{'kor':28, 'hajszin':'szoke'},
          'Betti':{'kor':35, 'hajszin':'fekete'},
          'Erzso':{'kor':40, 'hajszin':'voros'},
          'Emilio':{'kor':42, 'hajszin':'kek'}}

print(name_age2)

degrees={0:'east', 45:"North east", 90:'north', 135:'North-west', 180:'west', 225:'south west', 270:'south', 315:'south east'}