Only prints last one variable


In the math exercise it asks you to calculate come values. This is the code, wich is right, but why it only prints the last variable's value?

sum = 13 + 379
product = 923 * 15
quotient = 13209 / 17


That code doesn't print anything.

Codecademy prints the result of your last expression for some reason but that's something you'll generally want to ignore.


That could does not invoke any out put that's just something to do with the way codecademy has there console set up. It seems to always display something at the end that was not set to print or puts. Your code is fine so no worries