DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
for if else one line python
[ x if x%2 else x*100 for x in range(1, 10) ]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#line
#python
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit