QuestionQ280

VerifiedFunctions and Exceptions

What output is expected from the following code?

Question Image

Explanation

Python requires positional arguments to precede keyword arguments in a function call. Because 3 is a positional argument placed after y=2, the call raises a syntax error and the code cannot run.

Community Discussion

No comments yet. Be the first to start the discussion!