+ 3
Is scanner in kotlin works in SoloLearn?
So I tried to use a scanner in kotlin. While I removed the ``, the input was showing up. Check this code https://code.sololearn.com/cqlgs3d7CR5Q/?ref=app
1 Resposta
+ 6
Add this:
fun dummy() {readLine()}
The playground does not prompt for input without seeing input is required. This function tricks it into thinking it is required.