Can variable names start with a number?

QuestionsQuestions8 SkillsProYour First Python LabAug, 26 2025
0398

No, variable names in Python cannot start with a number. They must begin with a letter (either uppercase or lowercase) or an underscore (_). For example, 1variable is not a valid variable name, but variable1 and _variable are valid.

0 Comments

no data
Be the first to share your comment!