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..

21st Jul 2017, 2:08 AM
Darwin
Darwin - avatar
3 Respostas
+ 1
There are numerous ways to clear you, but know one thing whatever your problem is quiting is not a option, don't ever give up, you may be healthy, while others not, so just consider this life given by the god is a golden opportunity. Live the best but don't clear yourself
25th Apr 2024, 8:34 AM
Thariq Imran
Thariq Imran - avatar
0
Then why we have the statement I=I+1 in our code
21st Jul 2017, 2:23 AM
Darwin
Darwin - avatar
0
I=i +1
21st Jul 2017, 2:23 AM
Darwin
Darwin - avatar