2.2.1.1 Variable
Python Programming
A variable in programming functions as a storage container within a computer's memory, allowing for the storage of data that can be retrieved and manipulated later in the code. In the example below, the variable age is utilized to hold numerical data. The value of a variable can change throughout the execution of a program, which is why it is referred to as a "variable":
python
print ( age ="As - Salaam-Alaikum , dear students ! ")
age = 71
print( "Quaid-i-Azam lived for", age, "years")
age =60
print ( "Allama Iqbal lived for", age, "years")