πŸ“Š Python
Q. Which of these is a valid variable name in Python?
  • (A) 2variable
  • (B) variable_2
  • (C) variable-2
  • (D) variable.2
πŸ’¬ Discuss
βœ… Correct Answer: (B) variable_2

Explanation: Variable names cannot start with numbers or contain special characters like - or ..

Explanation by: Ankit Singh
Variable names cannot start with numbers or contain special characters like - or ..

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
36
Total Visits
πŸ“½οΈ
4 mo ago
Published
πŸŽ–οΈ
Ankit Singh
Publisher
πŸ“ˆ
97%
Success Rate