While петља — разлика између измена
Садржај обрисан Садржај додат
Ред 376:
=== [[Пајтон (програмски језик)|Python]] ===
<source lang="python">
broj = 5 #
faktorijel = 1 #
while broj > 0: #
faktorijel *= broj #
# faktorijel x broj.
broj -= 1 #
# broj - 1.
print(faktorijel) #
</source>
Ред 392:
<source lang="Python">
while True:
print("
</source>
|