Computer Science, asked by mithuvarshaa, 4 months ago

X=1
0DO UNTIL X<1
PRINT X
X=X-2
LOOP

Answers

Answered by unknownonlineidentit
0

Answer:

x=1

while x<2 :

print(x)

x=x-2

Explanation:

while loop is written like this

if you will write x<1 then then code will not work because you already stated that value of x is 1 and 1 is not less than 1 i hope you understood

Similar questions