Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
How to perform calculations in python code playground?
2 Respostas
+ 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)