Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python loop shorthand

foo = [x for x in bar if x.occupants > 1]
 
PREVIOUS NEXT
Tagged: #python #loop #shorthand
ADD COMMENT
Topic
Name
6+1 =