Test: Walidacja danych i pętle wejściowe — while do sprawdzania poprawności
Learning Mode
Progress:
10 of 10
Quiz Preview Mode
You're taking this quiz in preview mode with real feedback! Experience how our detailed explanations help you learn. Your progress won't be saved permanently.
Question
10
Które z poniższych wejść zostanie zaakceptowane przez kod:
```python
while True:
s = input(...)
if s.isdigit() and int(s) > 0:
...
```
dla warunku ```python
s.isdigit() and int(s) > 0
``` ?
Select one answer.