for i in range (1,100): if(i%2==0): print(i) i=1 while(i<100): if(i%2==0): print(i) i=i+1