0
I wanna know execution of else loop
I forgot how's it executing https://code.sololearn.com/cGZQsuV971nG/?ref=app
1 Answer
+ 2
10%2=0 10/2=5
5%2=1 5/2=2
2%2=0 2/2=1
1%2=1 1/2=0 exit while
s=0+1+0+1
I forgot how's it executing https://code.sololearn.com/cGZQsuV971nG/?ref=app