0

Why is this code not working?

Hey I just made my first challenge code for harshad numbers and well it worked, but i tried to integrate the bonus part as well and now I can't get past errors. Can you please help me? I've been on this for an hour and cannot figure out what's wrong. https://code.sololearn.com/cmtL1528AFbn/?ref=app

17th Dec 2018, 11:58 AM
Asirap
3 Réponses
+ 3
Actually it worked for range too The input method is 2 10 100 You have to input all the three values at the beginning in separate lines
17th Dec 2018, 12:08 PM
Gordon
Gordon - avatar
+ 3
Yes normal IDE on a computer is better because it read input when it reach that line. But code playground works in another way, the compiler is at the Sololearn server, so you have to input everything at the beginning. The exception is web code, which is compiled at locally with your mobile phone browser.
17th Dec 2018, 12:12 PM
Gordon
Gordon - avatar
+ 2
Gordon oh thankyou, so codeplayground is different from say normal IDE consoles? And could you help me with the 1st one?
17th Dec 2018, 12:09 PM
Asirap