0

Error in my code(Please help me )

Hi friends, I created a simple code but it is showing error on output, please help me find the bug and please explain it. Good if someone can send me a corrected code. https://code.sololearn.com/cN480K673z57/?ref=app

5th Apr 2021, 10:19 AM
Shaurya Agarwal
Shaurya Agarwal - avatar
3 Respuestas
+ 2
Nah, please go through the lesson again or just search it up in the search bar.
5th Apr 2021, 10:25 AM
Slick
Slick - avatar
+ 1
if you enter any number from 1 - 10 it will cause an inf loop. Its the while loop. Either make a stopping point so that loop stops or use a for loop in the range of the number provided
5th Apr 2021, 10:22 AM
Slick
Slick - avatar
+ 1
I am a beginner Can't understand Please explain in deep way
5th Apr 2021, 10:23 AM
Shaurya Agarwal
Shaurya Agarwal - avatar