What does this code output >>>> 1+2+3 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 4

What does this code output >>>> 1+2+3

21st Jun 2019, 7:20 PM
Mahlatse
2 Answers
+ 2
In intepreter: >>> 1+2+3 would output 6, but in code playgrounds it would raise error. In the codeplayground you should use: print(1+2+3) instead.
21st Jun 2019, 7:45 PM
Seb TheS
Seb TheS - avatar
0
6
30th Dec 2020, 12:44 PM
20CSE7906 SURIYALAKSHMI M.
20CSE7906 SURIYALAKSHMI M. - avatar