Answer:
D. Change the def to def area (width, height = 12)
Step-by-step 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:
![area = 5 * 2 = 10](https://img.qammunity.org/2022/formulas/computers-and-technology/college/n2m5013jp8qw6d4pyyf8fdyqhnwgw5s6od.png)
In box2area = area (6), where height is not passed, the area will be calculated as:
![area = 6 * 12 = 72](https://img.qammunity.org/2022/formulas/computers-and-technology/college/smb1dutexphn6jds5c0jle64m6a7xn91jv.png)