DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
generator expressions python
>>> even_squares = (x * x for x in range(10) if x % 2 == 0)
Source by dbader.org #
PREVIOUS
NEXT
Tagged:
#generator
#expressions
#python
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit