Iterate dictionary key/value pairs in Python

for k, v in d.items():
    print(k, v)