6. 2. 2019 11:18
Ten příklad https://rustpython.github.io/demo/ s while je takový Cčkový :) Pythonovitější by bylo cyklus zapsat: for count in range(until):
6. 2. 2019 11:20
Tedy, ten count se nepoužívá nic jiného, takže:
for _ in range(until): print(n1) n1, n2 = n2, n1 + n2