Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Created May 13, 2020 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Celia-code/3d931a756dc31cbcf47ae89bcaab4065 to your computer and use it in GitHub Desktop.
Save Celia-code/3d931a756dc31cbcf47ae89bcaab4065 to your computer and use it in GitHub Desktop.
集合
set1 = {1,2,3}
set2 = set((1, 2, 3))
print(set1) # 打印出{1, 2, 3}
print(set2) # 打印出{1, 2, 3}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment