Computer Science, asked by Skii2, 8 months ago

m=66
n=m //3
while n < 25 :
p=n%2
n = n + 5
print (p)

Answers

Answered by Oreki
1

Output:

0

Explanation:

> n = m // 3

> n = 66 // 3

> n = 22

> p = n % 2

> p = 22 % 2

> p = 0

Only one iteration as n is incremented by 5 and becomes 27.

Similar questions