Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python generator function

def gen_func():
	for i in range(10):
    	yield i
 
PREVIOUS NEXT
Tagged: #python #generator #function
ADD COMMENT
Topic
Name
8+8 =