How Many Times Will This While Loop Execute?

How many times will this while loop (in Python) execute?

1
2
3
4
i = 1
while i % 2 != 0:
    print "We are looping"
    i += 2

×

Problem Loading...

Note Loading...

Set Loading...