$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #147

Complete the loop

# walk the dictionary as key/value pairs
for k, v in scores.____():
    print(k, v)

Answer: items (also accepted: items, items())

items() yields (key, value) tuples.
Play Problem Solving ▸