Which of the following statements is false?

a. When defining a function, you can specify that a parameter has a default pa-rameter value.
b. When calling the function, if you omit the argument for a parameter with a default parameter value, the default value for that parameter is automatically passed.
c. The following defines a function rectangle_area with default parameter values:
def rectangle_area(length=2, width=3):
"""Return a rectangle's area."""
return length * width
d. The call rectangle_area() to the function in Part (c) returns the value 0 (zero).

d. The call rectangle_area() to the function in Part (c) returns the value 0 (zero).

Computer Science & Information Technology

You might also like to view...

The Android tablet uses the ________ app to edit Microsoft Office documents

Fill in the blank(s) with correct word

Computer Science & Information Technology

What is considered to be the best way to preserve the layout of a crime scene?

A) Photograph it. B) Ask questions. C) Use a compact cassette recorder. D) Write down all information.

Computer Science & Information Technology