The following statement calls a function named half, which returns a value that is half that of the argument. (Assume the number variable references a float value.) Write
code for the function.
result = half(number)
The following python code statement calls a function named 'half', which returns a value that is half that of the argument is as follows:
def half(number):
return number / 2
Explanation: