KnowledgeBoat Logo

Computer Science

Which of the following is an invalid variable?

  1. myday2
  2. 2nd_day
  3. Day_two
  4. _2

Python Funda

13 Likes

Answer

2nd_day

Reason — Variable names cannot begin with a number, although they can contain numbers.

Answered By

8 Likes


Related Questions