Computer Science
Find the invalid identifier from the following :
- MyName
- True
- 2ndName
- My_Name
Python Funda
18 Likes
Answer
The invalid identifier are:
2ndName ⇒ Begins with a digit
True ⇒ It is a keyword
Answered By
8 Likes
Related Questions
State True or False : "Variable declaration is implicit in Python."
Out of the following, find those identifiers, which cannot be used for naming Variables or Functions in a Python program:
- Price*Qty
- class
- For
- do
- 4thCol
- totally
- Row31
- _Amount
Which of the following is an invalid data type in Python?
- Sets
- Real
- Integer
- None of these
Identify the valid arithmetic operator in Python from the following:
- ?
- <
- **
- and