Computer Science, asked by rekharr1424, 10 months ago

What is the output of the following?

i = 1

while True:

....if i%3 == 0:

...........break

....print(i)


Also explain why it is output.

Answers

Answered by bhavani15440
0

Answer:

Explanation:

first of all it gives error because u not given any data type for i and u not closed true with paranthesis in while

if u leave that point

the program will run

the output is 1

beacause,1%3 is not gives remainder as 0

so it directly goes to print statement and print 1

Similar questions