From:http://interactivepython.org/courselib/static/pythonds/Introduction/DefiningFunctions.html
Defining Functions
For example:
>>> def square(n):
... return n**2
...
>>> square(3)
9
>>> square(square(3))
81
>>>
2023-08-30 16:05:52
From:http://interactivepython.org/courselib/static/pythonds/Introduction/DefiningFunctions.html
For example:
>>> def square(n):
... return n**2
...
>>> square(3)
9
>>> square(square(3))
81
>>>