Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
2+1 =