Run Time Error Python 3.9.4

Ankur Jyoti Kalita asked 3 months ago

Sum=0 A=int(input()) N=int(input()) while(N<=0): N=int(input()) for i in range(0,N): X=A+i Sum+=X print(f"{Sum}")

I get a run time error even if my code runs in other compilers!

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.