🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Python Variables and Data Types: all 15 questions

Quiz: Python Variables and Data Types · Question 14 of 15

Which variable name is NOT allowed?

Which variable name is NOT allowed?

  1. A.total_marks
  2. B._count
  3. C.2nd_rank
  4. D.rankTwo
Answer & explanation

Correct answer: 2nd_rank

A variable name cannot start with a digit.

Can you get the rest right without peeking?

Take the timed Quiz: Python Variables and Data Types quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →