Computer Science, asked by aliabhatt30, 5 months ago

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 ThrishavBanerjee07
1

Answer:

b.

Explanation:

as it says x < 5 so b. is correct

Answered by aditipatil5118
1

Explanation:

As frst 0 will be initialise so the option (b) is correct

hope u get the answer:-)

Similar questions