Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Last active July 22, 2020 00:52
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 IndhumathyChelliah/ec98ca64217bd827e3a91d9e5a75fcd3 to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/ec98ca64217bd827e3a91d9e5a75fcd3 to your computer and use it in GitHub Desktop.
s1={n*n for n in range(1,11)}
#Sets are unordered.
print (s1) #Output: {64, 1, 4, 36, 100, 9, 16, 49, 81, 25}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment