Untitled

Anonymous
plain_text
08/10/2024 3:34 AM
316 B
18
Indexable
""" 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