Computer Science, asked by samridhiyaduvanshi, 1 month ago

i=0
while i<4:
i+=1
print+(i)

Answers

Answered by allysia
0

Answer:

Correcting your code a bit:

\\\tt i=0 \\\ttwhile i&lt;4: \\\tt{\qquad  i+=1 }\\\tt {\qquad print(i)}

The output should be:

\\\tt 1\\ 2\\ 3\\ 4

Answered by kajariauddy18
0

OUTPUT:

1

2

3

Explanation:

4 won't be printed because i<4.

HUMBLE REQUEST:

PLS DO MARK ME BRAINLIEST DO UNDERSTAND MY HARDWORK FOR YOU PLS MARK ME BRAINLIEST

Similar questions