Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python print set

s = {1,2,3,4,5} # or s = set([1,2,3,4,5])
# Note: sets automatically removes duplicates elements
print(s)
 
PREVIOUS NEXT
Tagged: #python #print #set
ADD COMMENT
Topic
Name
4+8 =