dictionaries_test = {'K1': 15, 'K2': 20}
for keys, values in dictionaries_test:
print(f'({keys}, {values})')
output => (K, 1) (K, 2)
Why i get this output but if change the K1 to any think like o i get error message ?
dictionaries_test = {'K1': 15, 'K2': 20}
for keys, values in dictionaries_test:
print(f'({keys}, {values})')
output => (K, 1) (K, 2)
Why i get this output but if change the K1 to any think like o i get error message ?