Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list comprehensions

S = [x**2 for x in range(10)]
V = [2**i for i in range(13)]
Source by www.datacamp.com #
 
PREVIOUS NEXT
Tagged: #list #comprehensions
ADD COMMENT
Topic
Name
7+3 =