Created
May 4, 2020 11:28
-
-
Save Celia-code/1d15a38e6a0b9c6de6efcc6219fc4a5e 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
aTuple = ('Amy',18) | |
name,age = aTuple | |
print(name) | |
print(age) | |
# 打印出 Amy | |
# 打印出 18 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment