Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to slice a set in python

set = {"a", "b", "c"}
list = []
for x in set:
  list.append(x)
  
list[1]
 
PREVIOUS NEXT
Tagged: #slice #set #python
ADD COMMENT
Topic
Name
1+2 =