Home »
Python »
Python Variables MCQs
Which of the following is the valid variable name?
6. Which of the following is the valid variable name?
- True="hello"
- A="hello"
- For="hello"
- Else="hello"
Answer: B) A="hello"
Explanation:
Among, all the given variables only option b is valid as other names are also keywords.