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