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
What will be the output of the following python code?
i = 1
while i < 4:
print(i, end = ' ')
i++
print(i + 1, end = ' ')