0
Text in one line
I try to print the input entry one letter by second and all together in one line, but it's not working, i think the problem is the "end" statement. Why this is happening? https://code.sololearn.com/cCWuc5SZ1S0f/?ref=app
5 Antworten
+ 3
yes because the execution run in sololearn server including waiting time.
any output appears within the execution are sent back to you via this app after the execution are done in the server.
+ 2
it wont work in solo learn, the execution run on the server, and the only the output after execution done are sent back to us.
0
Taste, the code should print one letter by second, but It prints the entire string once, i want to understand why this happen.
0
I found a way to acomplish my goal with the flush keyword, i put a link bellow with some explanation.
https://stackoverflow.com/questions/28736175/why-print-in-JUMP_LINK__&&__python__&&__JUMP_LINK-doesnt-pause-when-using-sleep-in-a-loop
- 1
You should print c not n[c]