import threading
a = 0
# svake sekunde ispisuje vrijednost
# varijable a
def work ():
threading.Timer(1, work).start()
print(a)
work ()
while True:
a += 1
>>> 0
>>> 24590458
>>> 46859024
while uslov:
naredba
naredba
for varijabla in [vri1, vri2, itd]:
naredba
naredba
for broj in range(1, 5):
for hours in range(24):
for minutes in range(60):
for seconds in range(60):
print(hours, ':', minutes, ':', seconds)