Values can be returned from functions using the return statement. : Return : Function PYTHON TUTORIALS


PYTHON TUTORIALS » Function » Return »

 

Values can be returned from functions using the return statement.


def square(x):
   return x*x

print square(3)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Function
» Return