Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

odd number list generator

nums = [x for x in range(20) if x % 2 != 0]

print(nums)
Source by www.section.io #
 
PREVIOUS NEXT
Tagged: #odd #number #list #generator
ADD COMMENT
Topic
Name
1+6 =