Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if else one line python

b.append(a) if a is not None else None
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #line #python
ADD COMMENT
Topic
Name
7+2 =