C-16-Q016mediumsingle_mcq
Which of the following is NOT allowed as the first character of a variable name?
Which of the following is NOT allowed as the first character of a variable name?
- aa letter a–z
- ba letter A–Z
- can underscore _
- da digit 0–9
ব্যাখ্যা
A variable name cannot start with a digit, because Python would attempt to read it as a number. Letters and the underscore are the only valid starting characters.