Created
May 4, 2020 11:11
-
-
Save Celia-code/e36efa69ab3bf26aa5e85512a9a88439 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
aList = [1,2,3] | |
aTuple = tuple(aList) | |
print(aTuple) | |
# 打印出 (1, 2, 3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment