A program contains the following function definition:
def cube(num):
return num * num * num
Write a statement that passes the value 4 to this function and assigns its return value to the variable result.
Given function definition:
#The method 'cube' accepts an argument num and
#return the three times of given number
def cube(num):
return num * num * num
The following statement that passes the value 4 to this function and assigns its return value to the variable result is as follows:
result = cube(4)
Explanation: