Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Created May 8, 2020 03:40
Show Gist options
  • Save Celia-code/afb04757be5f800fb508eb3446131e70 to your computer and use it in GitHub Desktop.
Save Celia-code/afb04757be5f800fb508eb3446131e70 to your computer and use it in GitHub Desktop.
字典
age = {'Amy': 18, 'Ben': 24}
del age['Amy']
print(age)
# 打印出 {'Ben': 24}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment