Mega Code Archive
Categories
/
Python Tutorial
/
Function
Values can be returned from functions using the return statement
def square(x): return x*x print square(3)