DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+2 =
Submit