QuestionQ151

VerifiedComputer Programming and Python Fundamentals

What happens when you try to run the following code?

Question Image

Explanation

The trailing ! is invalid in a Python function-call argument list, so Python cannot parse the statement and raises SyntaxError before it can execute print.

Learn more

Community Discussion

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