G

Gopal Sharma • 38.32K Points
Coach

Q. How do you declare a variable in Python?

  • (A) variable_name = value
  • (B) value = variable_name
  • (C) var variable_name = value
  • (D) declare variable_name as value
  • Correct Answer - Option(A)
  • Views: 19
  • Filed under category Python

Explanation by: Gopal Sharma
In Python, you declare a variable by assigning a value to a variable name using the '=' operator.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics