Skip to content

Instantly share code, notes, and snippets.

@eriky
Created May 11, 2021 13:13
Show Gist options
  • Save eriky/c184883518e0195b417c0835cd7a64c7 to your computer and use it in GitHub Desktop.
Save eriky/c184883518e0195b417c0835cd7a64c7 to your computer and use it in GitHub Desktop.
>>> phone_numbers.items()
dict_items([('Jack', '070-02222748'), ('Pete', '010-2488634'), ('Eric', '06-10101010')])
>>> for name, phonenr in phone_numbers.items():
... print(name, ":", phonenr)
...
Jack : 070-02222748
Pete : 010-2488634
Eric : 06-10101010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment