A function definition : Function Define : Function PYTHON examples


PYTHON examples » Function » Function Define »

 

A function definition


A function definition
 

def square(x):
    'Calculates the square of the number x.'
    return x*x


print square(100)

           
         
  



Leave a Comment / Note


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


PYTHON examples

 Navioo Function
» Function Define