Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Loop with If

squares = [i**2 for i in range(10) if i%2==0]
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #Loop #If
ADD COMMENT
Topic
Name
8+5 =