Q. Which of these is not a valid Python identifier?

  • (A) my_var
  • (B) _var
  • (C) 2var
  • (D) var2
πŸ’¬ Discuss
βœ… Correct Answer: (C) 2var
Explanation: Identifiers cannot start with a number.
Explanation by: Mr. Dubey
Identifiers cannot start with a number.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
85
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate