dictionary - python

Dictionary

Dictionary Iteration and Unpacking

for key, value in d.items():
    print(f'key: {key}, value: {value}')
a = 10
b = 15
a, b = b, a