dodao cas3, cas4, napravio dir strukturu

This commit is contained in:
il
2023-05-01 15:41:06 +02:00
parent c77ec709b2
commit f6c0008d60
19 changed files with 188 additions and 0 deletions

20
Cas3/od_100_do_0_sa_7.py Executable file
View File

@@ -0,0 +1,20 @@
# Svi brojevi od 100 do 0 ako su deljivi sa 7
# while petlja
broj = 100
while broj > 0:
if (broj % 7 == 0):
print(broj)
broj -= 1
input()
# for petlja
for broj in range(100, 0, -1):
if (broj % 7 == 0):
print(broj)
input()