Skip to content

Instantly share code, notes, and snippets.

for num in range(1, 101):
label = ""
if num % 3 == 0:
label = "Three"
if num % 5 == 0:
label += "Five"
print(label or num)