LogiQuest
Back to Control Flow
5

What is the output of the following code?

for i in range(5):
    if i == 3:
        break
    print(i, end=' ')
Easy

Discussion (0)

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

Log in to join the discussion.