making line only do something when enter is pressed | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

making line only do something when enter is pressed

How would i make it so that the next line of printed text only appears when the person using the code presses enter and how would i do it multiple times one after the other

18th Feb 2019, 4:03 PM
pompador64
2 Antworten
+ 4
hi pompador64, may be you can explain your question a little bit more? thanks lothar
22nd Feb 2019, 7:56 PM
Lothar
Lothar - avatar
+ 3
Maybe put input() before the print statement. This works a bit differently in SL because you first enter all the input and then you get the whole output.
3rd Mar 2019, 6:13 PM
michal