Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. def removeduplicates_set(list_input):
  2. deduplicated = set(list_input)
  3. return(deduplicated)
  4.  
  5.  
  6. x = input("Please enter the values in the list separated by space: ")
  7. list_x = x.split()
  8. removeduplicates_set(list_x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement