Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list comprehesion python

# owner github -> linikerunk
squares = [item * item for item in range(5)]
>>> squares
[0, 1, 4, 9, 16]
 
PREVIOUS NEXT
Tagged: #list #comprehesion #python
ADD COMMENT
Topic
Name
1+9 =