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