DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python list comprehension if else
# if/else [f(x) if condition(x) else '' for x in sequence]
PREVIOUS
NEXT
Tagged:
#python
#list
#comprehension
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit