0

Can anyone tell that why my code is not running in this app but in an online compiler its working fine.

https://code.sololearn.com/cocd5zXJ0R6f/?ref=app Its just saying that "Looks like your program needs an input", after inputing a value it doesn't prompt any thing; instead it should prompt "Enter length of link list " and then "Enter node data" but its doing nothing as expected.

2nd May 2023, 7:27 AM
Mian Muhammad Waleed Asif
Mian Muhammad Waleed Asif - avatar
5 Answers
+ 6
Mian Muhammad Waleed Asif , this is what sololearn says in one of the new tutorials: Note that when you run input in sololearn playground, you need to provide *all* the inputs in the popup, separated by new lines. There is one exception from this input procedure. If you are prompted to input something separated by comma, space or another delimiter you should input everything in one line with the mentioned delimiter and then finally tap submit.
2nd May 2023, 9:34 AM
Lothar
Lothar - avatar
+ 5
Sololearn (many online compilers won't work like that mostly, not work as interactive). You should input all at once in the pop - up window, as space separated (if works or line by line... ) Like 4 < press enter > 3 < press enter > 2 < press enter > 1 < press submit >
2nd May 2023, 8:07 AM
Jayakrishna 🇮🇳
+ 1
Let me try
2nd May 2023, 8:09 AM
Mian Muhammad Waleed Asif
Mian Muhammad Waleed Asif - avatar
+ 1
I worked but at the end output is correct but input is not interactive (it should take input after every input's prompt so that user is aware of what he is entering and what it is for) anyway,Thanks a lot!
2nd May 2023, 8:15 AM
Mian Muhammad Waleed Asif
Mian Muhammad Waleed Asif - avatar
+ 1
Can you tell me what is "tick" and sign above it "^" on left of every response for?
2nd May 2023, 11:18 AM
Mian Muhammad Waleed Asif
Mian Muhammad Waleed Asif - avatar