You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
220 B
Markdown

# While
Bere booleanovský výraz jako argument.
Loopuje dokud je výraz `True`.
```python
while True:
print('tohle bezi donekonecna')
```
```python
i = 0
while i < 10
print(i) # tohle se provede 10krat
i += 1
```