Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Created May 8, 2020 03:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
字典
age = {'Amy': 18, 'Ben': 24}
age['Ben'] = 60
print(age)
# 打印出{'Amy': 18, 'Ben': 60}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment