Advertisements
Advertisements
प्रश्न
Which of the following identifier name are invalid and why?
Total Marks
पर्याय
Invalid
Valid
उत्तर
Invalid
Explanation:
Identifiers in Python cannot contain any special character except underscore(_). If more than one word is used as a variable then it can be separated using an underscore (_), instead of a space.
APPEARS IN
संबंधित प्रश्न
Which of the following identifier name are invalid and why?
Serial_no
Which of the following identifier name are invalid and why?
1st_Room
Which of the following identifier name are invalid and why?
Hundred$
Which of the following identifier name are invalid and why?
Total_Marks
Which of the following identifier name are invalid and why?
total-Marks
Which of the following identifier name are invalid and why?
_Percentage
Which of the following identifier name are invalid and why?
True