Write the definition of a function square which receives a parameter containing an integer value and returns the square of the value of the parameter.

Write the definition of a function square which receives a parameter containing an integer value and returns the square of the value of the parameter.

LANGUAGE:  PYTHON

CHALLENGE:

Write the definition of a function square which receives a parameter containing an integer value and returns the square of the value of the parameter.

SOLUTION:


def square(int):
return int**2

Add comment