+ 1
How do you use Python as a calculator?
When I go to code playground i type in a calculation, example: 2*3 and try to run it it say error or no output. Am I doing something wrong? Help
2 Answers
+ 7
Sololearn does not provide an interactive console, which normally would output the result after each line of entered code. Instead, it sends all your code as a whole to a remote interpreter and sends you the output back.
So either you give a proper instruction like print(2*3) or download a Python bundle with an interactive console (like QPython3 or PyDroid3 for Android).
+ 1
Thank you! That really helped!