score = {"ann": 5, "bo": 3} score["bo"] += 2 for k, v in score.items(): print(k, v)
It prints:
ann 5 bo 5