+ 1
How to perform calculations in python code playground?
2 Answers
+ 2
Calculations would work like any Python IDE
You do the calculation, then use the print() function to display the results. After you have the code ready, run itđâ
Here is an example:
https://code.sololearn.com/c0vuQO31iS5V/?ref=app
+ 2
The playground is not a shell so to do calculations you need to assign a value and print
s = 1 + 1
print(s)