DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
list comprehension odd numbers python
L=([i%2 for i in range(10)]) print(L)
Source by www.geeksforgeeks.org #
PREVIOUS
NEXT
Tagged:
#list
#comprehension
#odd
#numbers
#python
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit