A variable is a name that refers to a value.
In Python, you create a variable by writing a name, an equals sign, and a value. The name gives your program a useful way to refer to that value later.
favorite_language = "Python"Here, favorite_language refers to the string "Python". print() asks Python to show the value that the name currently refers to.
print(favorite_language) # PythonYou can also assign a new value to the same name. After reassignment, print() uses the new value.
Keep this in mind: A variable name is not a physical box. It is a label Python uses to refer to a value.
score = 10
print(score)
score = 15
print(score)The output changes because score now refers to 15.
