P1 - postevanka od 7¶
for i in range(1, 101):
if (
i % 7 == 0 or
"7" in str(i)
):
print("BUM", end =" ")
else:
print(i, end =" ")
print("")
Zadnja posodobitev:
February 27, 2022
for i in range(1, 101):
if (
i % 7 == 0 or
"7" in str(i)
):
print("BUM", end =" ")
else:
print(i, end =" ")
print("")