b = {'1': {
              'id': '1',
              'title': 'foot',
              'price': '23',
              'quantity': '9',
              'total_price': '999'
          }
     }

# b['1']['vk'] = 'vaibhav'
#
# print(b['1']['vk'])

for i in b.values():
    print(i['id'])
2754036fe4669902eb5fbfad6cdba767dcd02b06
<mask token>

<mask token>
for i in b.values():
    print(i['id'])

b = {'1': {'id': '1', 'title': 'foot', 'price': '23', 'quantity': '9',
    'total_price': '999'}}
for i in b.values():
    print(i['id'])

b = {'1': {
              'id': '1',
              'title': 'foot',
              'price': '23',
              'quantity': '9',
              'total_price': '999'
          }
     }

# b['1']['vk'] = 'vaibhav'
#
# print(b['1']['vk'])

for i in b.values():
    print(i['id'])