+ 1
Why don't we need the print command for numbers?
I'd guess it's because there are no numbers in the language, so the program knows we want it printed... is this correct? Or am I missing something?
4 Answers
+ 17
The interpreter acts as a simple calculator: you can type an expression at it and it will write the value. Expression syntax is straightforward: the operators +, -, *and / work just like in most other languagesÂ
https://docs.python.org/3/tutorial/introduction.html
+ 3
Thank you :)
+ 1
I'm sorry, I'm really confused by this. So I still need to use the print command for it to show up in the program?