¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita+ 2
Can someone help me in fixing this error
2 Respuestas
+ 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