

How do you declare a variable in Python?
In Python, you can declare a variable by simply assigning a value to it using the equal (=) sign. Here's an example:
x = 10
In this case, we declare a variable named 'x'
and assign it the value of 10. Python is a dynamically-typed language, meaning you don't need to explicitly specify the variable's type. The type is inferred based on the value assigned to it. To know more about Python, choose Python Training Institute in Lucknow for learning.
Python