LogiQuest
Back to Control Flow
4

What is the output of the following code?

i = 0
while i < 5:
    i += 2
print(i)
Easy

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.