Skip to content

Instantly share code, notes, and snippets.

Last active Jul 22, 2020
What would you like to do?
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