2.
How are variable length arguments specified in the function heading?

One star followed by a valid identifier

One underscore followed by a valid identifier

Two stars followed by a valid identifier

Two underscores followed by a valid identifier

6.
How are default arguments specified in the function heading?

Identifier followed by an equal to sign and the default value

Identifier followed by the default value within square brackets ([])

Identifier

7.
How are required arguments specified in the function heading?

Identifier followed by an equal to sign and the default value

Identifier followed by the default value within square brackets ([])

Identifier

10.
What is the output of the following?

[[[0]], [[[0]], [1]], [[[0]], [[[0]], [1]], [2]]].

[[0], [[0], 1], [[0], [[0], 1], 2]].

[0, None, 1, None, 2, None].

[[[0]], [[[0]], [1]], [[[0]], [[[0]], [1]], [2]]].

0Shares
0
Scroll to Top