Answer:
D. Change the def to def area (width, height = 12)
Explanation:
Required
Update the function to set height to 12 when height is not passed
To do this, we simply update the def function to:
def area (width, height = 12)
So:
In boxlarea = area (5,2), the area will be calculated as:
In box2area = area (6), where height is not passed, the area will be calculated as:
Assigning values at run time
Assigning values as command line argument, before execution of the program
What do you mean? I don't understand.
U right click it then u click ignore