0
Why I can't run numerical codes?
I can't do any math operations in python!
7 Answers
+ 3
youre used to working in the interpretor, its cool man. common mishap. solo learn playground (what youre typing code on in this app) is an IDE.
meaning if you want to see anything, you'll have to print it.
try print(2+2)
+ 5
print(2+2) not 2+2 , probably you are mixng it with interpreter where <<< is given and you need to write 2+2 or any command directly and it prints the output
+ 3
yeah, you can. supply, any, information about the problem and someone would be glad to help
+ 2
this is not terminal like IDLE that will give you direct output.. this is like python file. so you have to write print() function. ex. print(2+3).
+ 1
https://code.sololearn.com/cUnMx6vJ1vUz/?ref=app
your issue is that you are doing nothing with that information.
If you are trying to see the results then you should probably print your results.
+ 1
https://code.sololearn.com/c1QpcjuOlnk5/?ref=app
It worked!
Thanks guysđ