clear me | Sololearn: Learn to code for FREE!

0

clear me

i=1 while i<7: print(i) i=i+2 print("program done") /** when i=1 ,,it prints 1 ..but we have give a condition i=i+1: so we should have the answer as 2 not 1 ..why we get 1 not as 2..

7/21/2017 2:08:50 AM

Darwin

4 Answers

New Answer

0

Then why we have the statement I=I+1 in our code

0

I=i +1