CBSE Class 12 Computer Science Question 17 of 105

Python Revision Tour — Question 1

Back to all questions
1
Question

Question 1

Which of the following is an invalid variable?

  1. my_day_2
  2. 2nd_day
  3. Day_two
  4. _2
Answer

2nd_day

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