Created
May 8, 2020 03:55
-
-
Save Celia-code/3fdbd88682334672414533d9279170cd 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
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