s = {1,2,3,4,5} # or s = set([1,2,3,4,5]) # Note: sets automatically removes duplicates elements print(s)