0
The input() function seems to not work correctly for the built-in interpreter.
The sololearn interpreter seems to not add a new paragraph when the input() function is used. In programs that rely on this, it can break the rendering.
2 Respostas
0
HonFu Yes, I know how it works but it doesn't work as intended in some cases. Let me show you an example:
https://code.sololearn.com/clq489rPgJJJ/?ref=app
The board printed out is offset by the print() statement. This does not happen in other interpreters.
You can try it too with the input 1 (enter key) 2 (enter key) until 9. The box breaks apart.
Thanks anyway.