Q : Why does Python print the formula or the functions "backward"?
A : It's not really backward, it's "inside out." When you start breaking down the function into separate formulas and function calls you'll see how it works. Try to understand what I mean by "inside out" rather than "backward."
from : https://learnpythonthehardway.org/book/ex21.html