Hello,
I am not understanding the second print command. Can you please explain step by step how the value of “number” is changing? Others have posted this question too but we have not gotten satisfactory response. Can you please explain the below pattern?
1
2
3
4
5
We are not incrementing the “number” explicitly and the value of number is not changed anywhere. Shouldn’t it just print “5” one time and exit?