Untitled
Anonymous
Plain Text
08/10/2024 3:34 AM
236 B
18
Indexable
Never
""" Wypisz liczby od 0 do 200, które są podzielne przez 5,
ale są niepodzielne przez 7 """
for i in range(201):
if i % 5 == 0 and not i % 7 == 0:
print("liczba", i, "jest podzielna przez 5 i niepodzielna przez 7")
Editor is loading...
Leave a Comment