What will be the output of the following:
x = 0
while (x<5):
print (x)
x=x+1
a. 1 2 3 4 5 b. 0 1 2 3 4 c. 1 2 3 4
Answers
Answered by
1
Answer:
b.
Explanation:
as it says x < 5 so b. is correct
Answered by
1
Explanation:
As frst 0 will be initialise so the option (b) is correct
hope u get the answer:-)
Similar questions