+ 3

Does Sololearn support Looped inputs in any language?

I was trying to define a function that would loop a block of code that asks for an input. The point of this was to create a sort of Interactive Console environment with the code, whereby the user can repeatedly give input to the program without having to run the entire code. Here's the code I tried it with. https://code.sololearn.com/cGq7VVYvzIK0/?ref=app

27th Mar 2020, 2:35 AM
Zikora
Zikora - avatar
1 Odpowiedź
+ 1
Unfortunately no, Sololearn doesn't support this for console programs. If you want to make something interactive in Sololearn you can use Javascript.
27th Mar 2020, 6:14 AM
bornToCode()
bornToCode() - avatar