Question 7: Python Syntax

This is a simple question to test your understanding of Python syntax.

What will be the output of the following code:

Select an option:🤔🧐















a

C: 2Var

In Python, identifiers cannot begin with a number. Therefore, 2Var is an invalid identifier as it starts with a numeral character, violating the naming convention for Python identifiers.

Leave a Reply