Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. tup = ('one', 'one', 'one', 'two', 'two','three',
  2. 'four', 'four', 'four', 'five', 'five', 'seven')
  3.  
  4. result = set(tup)
  5. # {'five', 'four', 'one', 'seven', 'three', 'two'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement