DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python generators
def generador(): n = 1 yield n n += 1 yield n n += 1 yield n
Source by ellibrodepython.com #
PREVIOUS
NEXT
Tagged:
#python
#generators
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit