I\'m starting with some basic stuff to get a feeling for how to make a text based game. After creating the .py file in my IDE, I open terminal and use bash to open the .py
You can do your mathematical calculation and convert it into string, for example
*a = x*3 str(a)*
and now if you call it in your print statement, it will work.
a = x*3 str(a) print("3 x {} = {} ").format(x,a)