Write the definition of a function oneLess which receives a parameter containing an integer value and returns an integer whose value is one less than the value of the parameter.

LANGUAGE:  PYTHON

CHALLENGE:

Write the definition of a function oneLess which receives a parameter containing an integer value and returns an integer whose value is one less than the value of the parameter.

SOLUTION:


def oneLess(int):
return int-1