Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = set({1, 3, 4, 5, 1})
- print(x) # {1, 3, 4, 5}
- x = set('Hello InDeepLab')
- print(x) # {'H', 'l', 'o', 'I', 'D', 'p', 'L', 'e', 'n', 'a', ' ', 'b'}
- x = set([1, 3, 4, 5, 1])
- print(x) # {1, 3, 4, 5}
- x = set(range(0, 5))
- print(x) # {0, 1, 2, 3, 4}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement