PYTHON
n = int(input())
sum = 0
while n!=0:
if (n % 4 == 0) and n>99 and n<1000:
sum += 1
print(sum)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
PYTHON
n = int(input())
sum = 0
while n!=0:
n = int(input())
if (n % 4 == 0) and n>99 and n<1000:
sum += 1
print(sum)