0
Explain please how this programme works
i=1 while i>=1: print(i) i=i+1 if i<=10: break
1 Resposta
+ 3
since i =1
while i > = 1 is true # 1 = 1
so it will print i = 1
i = i +1
so i = 2
since i = 2
if i <= 10 is true # 2 < 10
so it breaks out of the loop only printing 1.