0

How do I use the player input to have their name? This isn't working 😔 I'm a beginner so I don't know a lot.

https://sololearn.com/compiler-playground/cDn9vhYJ4YVN/?ref=app

4th Apr 2024, 8:00 AM
Benjamin Bradley
Benjamin Bradley - avatar
3 odpowiedzi
+ 1
I don't know what's your question: I tried it, asked me for an input, typed something, and it displayed it on a correct place. (name) or you would like to enter the "150" as well before they can see the question?
4th Apr 2024, 11:28 AM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 2
Benjamin Bradley , Sololearn requires the user to enter all inputs before running the program. To enter multiple inputs on separate lines as a user, hit Enter after each line to go to the next line, and only hit Submit once after the last line to send all the lines you entered.
4th Apr 2024, 1:57 PM
Rain
Rain - avatar
0
Sorry yes, I got it working but then I tried to make it so the player can see the question and answer it themselves. Also, how would you make it so if you tap/click the screen it would show the next line rather than it all appear at once? Thanks!
6th Apr 2024, 7:17 AM
Benjamin Bradley
Benjamin Bradley - avatar