After learning basics of variables,
I am sure now you have gained enough knowledge on how to store values inside of variables.
Its time to play with variables and do some arithmetic operations on them.
my_age = 27
number_of_years = 3
total_age = my_age + number_of_years
print "Total Age = "
print total_age
my_age = 27
number_of_years = 3
total_age = my_age - number_of_years
print "Total Age = "
print total_age
It is so lovely, how easily you can become older and younger :p by just adding and removing values
in and out from your age ..
In this example, I am sharing with you, on how to multiply bitcoins
it is very easy actually
bitcoins = 0.2
multiplication_factor = 3
total_bitcoins = bitcoins * multiplication_factor
print "Total Bitcoins = "
print total_bitcoins
more arithmetic operations, which you can try
are Division,
bitcoins = 0.2
multiplication_factor = 3
total_bitcoins = bitcoins / multiplication_factor
print "Total Bitcoins = "
print total_bitcoins
you should be writing some programs now,
try to become as creative as you can...
think about everything you want to add in .. and subtract from ... write a code for them..