What will be the output of the following python code?

i = 1

while i < 4:

    print(i, end = ' ')

    i++

    print(i + 1, end = ' ')

1
1 2 2 3 3 4
2
1 2 3 4 
3
1 2 1 2 1 2
4
None of these

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation