Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list comprehension odd numbers python

L=([i%2 for i in range(10)])
print(L)
 
PREVIOUS NEXT
Tagged: #list #comprehension #odd #numbers #python
ADD COMMENT
Topic
Name
6+2 =