A variable is a data name which store data.
A variable is created when you first assign value to it.
Example:
Example:
Example:
A variable is created when you first assign value to it.
Example:
var1 = 5
var2 = "Hello"
print(var1)
print(var2)
5
Hello
Example:
var1 = var2 = var3 = 5
print(var1)
print(var2)
print(var3)
5
5
5
Example:
var1, var2, var3 = 5, 10, 15
print(var1)
print(var2)
print(var3)
5
10
15