Q6
What is the output of the code:x = 1while x < 5: print(x) x += 1
A.
1
2
3
4
Answer2
3
4
B.
1
1
1
1
1
1
1
C.
2
3
4
5
3
4
5
D.
2
2
2
2
2
2
2
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board