Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Created May 4, 2020 11:21
Show Gist options
  • Save Celia-code/b1224e474830a79e1eaf7bc571f49dfc to your computer and use it in GitHub Desktop.
Save Celia-code/b1224e474830a79e1eaf7bc571f49dfc to your computer and use it in GitHub Desktop.
元組
aTuple = ('a','b','c','d','e')
print(aTuple[0:2])
# 打印出 ('a', 'b')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment