why I cannot perform the right output in code playground | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why I cannot perform the right output in code playground

I type 2+2 in the code playground, but the output is no output. Why did it happen?

3rd Jul 2016, 3:13 AM
林恩立
林恩立 - avatar
2 Answers
+ 1
Because it is not interactif, you have to explicitly print it like this: print(2+2)
3rd Jul 2016, 6:30 AM
Ahmed AZ
Ahmed AZ - avatar
0
thank you!
3rd Jul 2016, 7:43 AM
林恩立
林恩立 - avatar