#method  словари

#dict_with_pairs = {"эключ1": значание}
#dict_ = {3: 1, 3.4: 2, 3: 2}
#print(dict_)

#method fromkeys

#names = {'name1': 'Jonh':  'name2': 'Tom'}
#print(names['name1'])
#print(names['name2'])

#dictionary dict.fromkeys(['key1', 'key2'])
#print(dictionery)
#dictionery2 dict.fromkeys(['key1', ])
#print(dictionery2)

#method get  получает по ключу значение
# cars = {'mersedes': '221', 'bmv': '750', 'subaru': 'impreza'}
# print(cars.keys())
# cars_list = cars.keys()
# print(cars_list)
# print(len(cars))
# mersedes = cars.get('mersedes')
# print(mersedes)

#method values  вывволит все значение

# cars = {'mersedes': '221', 'bmv': '750', 'subaru': 'impreza'}
# print(cars.values())
# print(type(cars.values()))


#method pop удаляет по ключе


#dict_ = {'first': '1st', 'second': '2nd ',  }
#
# list1 = ['monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'october', 'sunday']
# print(list1)
# list2 = list1.copy()
# list2.remove('october')
# list2.insert(5, 'saturday')
# print(list2)




#menhod popoitem
# cars = {'mersedes': '221', 'bmv': '750', 'subaru': 'impreza'}
# deleted = cars.popitem()
# print(deleted)
# print(cars)

# method  мноожество




