+ 1
Why âerrorâ prints in last
I donât know why and how âelseâ part is executed that is outside of loop ...plz explain đ„Č https://code.sololearn.com/ckIoqzH6CBeG/?ref=app
4 RĂ©ponses
+ 1
Abol if the for loop terminates by break statement then else doesn't executes.
For example change it to x==5 and else won't execute,