Answer & Solution
Here's the breakdown:
#1. 3 % 5 calculates the remainder when 3 is divided by 5, which is 3.
#2. 4 + 3 then adds 4 to the result of the modulo operation, resulting in 7.
Therefore, the value of the expression is 7.
4 + 3 % 5
i = 0
while i < 5:
print(i)
i += 1
if i == 3:
break
else:
print(0)