Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję+ 2
Can someone help me in fixing this error
2 odpowiedzi
+ 10
Your code is fine. The Sololearn playground is not interactive, it takes all inputs upfront in the same popup. Use line breaks, for example:
1
2
+
Then 3 is printed.
+ 1
Thanks a lot