Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Created May 8, 2020 11:44
Show Gist options
  • Save Celia-code/438555291dd697f9074092e75c8f81f1 to your computer and use it in GitHub Desktop.
Save Celia-code/438555291dd697f9074092e75c8f81f1 to your computer and use it in GitHub Desktop.
字典
person = {'name': 'Amy', 'age': '18'}
for i in person.keys():
print(i)
# 打印出 name age
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment