Created
May 8, 2020 11:57
-
-
Save Celia-code/457afd57daf7312c0dbba75fbbab70dd to your computer and use it in GitHub Desktop.
字典
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
person = {'name': 'Amy', 'age': '18'} | |
for i in person.items(): | |
print(i) | |
# 打印出('name', 'Amy') ('age', '18') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment