<aside> 💡 Need to know
When you run a program, the computer stores the program in memory (RAM). When you create variables in your program, you create named locations in the RAM that you can refer to continuously while the program is running.
</aside>

In the picture above image that every time Mario lands on a coin, the score and number of coins need to increase.
It wouldn’t make sense to reassign the variables for the coins in the following sense:
coins = 1
coins = 2
Mainly because at any point in the game the coins variable may be any number other than 1 or 2 etc. If the coins were 34 for example, how would the programmer update it by just 1?
It makes sense therefor to update whatever the current value is by 1 every time Mario touches a coin.
coins = coins + 1
https://youtube.com/shorts/epkv6Lg5maM?si=lL1bdUjh7-iP5-TI
In the example above, coins is a variable that could constantly change throughout the game being played.
Sometimes our programs will need to refer to a variable that doesn’t change in value while the program is running. This called a constant.
For example a program that calculates the cost of meal. If tax needs to be added to the cost.
https://replit.com/@bitFez/ex9#main.py
<aside> 💡 When writing a constant write the name of the constant in all CAPS.
</aside>