Mega Code Archive
Categories
/
Python
/
Function
A function definition
def square(x): 'Calculates the square of the number x.' return x*x print square(100)