Python Programming - Variables - Discussion

Discussion Forum : Variables - General Questions (Q.No. 10)
10.
Which of the following is true about Python variable names?
Variable names are case-sensitive
Variable names cannot be longer than 32 characters
Variable names can contain special characters like @ or $
None of the above
Answer: Option
Explanation:
In Python, variable names are case-sensitive, which means that my_variable and My_Variable are two different variable names. Variable names can be any length and can contain letters, numbers, and underscores, but cannot begin with a number and cannot contain special characters like @ or $.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.