Search
 
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
Name
1+8 =