enter image description here
Can someone please help me with this explain the for loop what is going on there step by step especially where is the if and else stateme