Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to return a value from a function in python

def func():
	a = 10
	return a

print(func())
>>> 10
 
PREVIOUS NEXT
Tagged: #return #function #python
ADD COMMENT
Topic
Name
7+8 =