the-honk/school/gcse/year 9/python challenges/17 - All odd numbers under 100.py
2021-12-21 19:46:28 +00:00

5 lines
No EOL
110 B
Python

for i in range(100):
i = i + 1;
# if i is not divisible by 2 (odd)
if i % 2 != 0:
print(i)