C-18-Q090mediumsingle_mcq
Which of the following is a valid Python variable name?
Which of the following is a valid Python variable name?
- a
9810 - b
$variable - c
print - d
National_ID
ব্যাখ্যা
A valid Python identifier must start with a letter or underscore and contain only letters, digits, and underscores, so National_ID qualifies. The others fail: 9810 starts with a digit, $variable uses an illegal symbol, and print is a built-in name.