Skip to content

Instantly share code, notes, and snippets.

@vinaykudari
Created August 6, 2018 10:58
Show Gist options
  • Save vinaykudari/4a3ee39cef7c16cd32720f22be3e41a5 to your computer and use it in GitHub Desktop.
Save vinaykudari/4a3ee39cef7c16cd32720f22be3e41a5 to your computer and use it in GitHub Desktop.
Set
a = set({3,1,2,3})
print(type(a))
>> <class 'set'>
print(a) #Order and Repetition dosent matter in sets
>> {1, 2, 3}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment