Which of the following is NOT a valid Python identifier?

Options

  • A. myVariable
  • B. _myVariable
  • C. 123Variable
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. 123Variable

Detailed Explanation

A Python identifier cannot start with a digit. It may start with a letter or underscore.