- 1
Simple Operations
Very dumb question, but I can't get simple math operations to output anything in code playground. Simply entering (4 + 8) / 2 returns >No output. Edit: nvm you need to include it in a print() command
5 ответов
+ 1
You must insert your math operations inside print() function, or assign it to a variable and print the resulting variable.
That is necessary because code playground is not a REPL, it's the same as writing a Python script.
0
Do (4+8/2)
0
Write all the print statements or math operations to print inside function print()
0
Print((8+4)/2)