python:
total = 0
for i in range(100, 1000):
if i % 10 in [4, 9]:
total = total + i
print(total)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
python:
total = 0
for i in range(100, 1000):
if i % 10 in [4, 9]:
total = total + i
print(total)