2020-09-29 22:09:04 +02:00

57 lines
584 B
Markdown

---
id: 5e7b9f060b6c005b0e76f05c
title: Loops and Iterations
challengeType: 11
videoId: dLA-szNRnUY
---
## Description
<section id='description'>
</section>
## Tests
<section id='tests'>
```yml
question:
text: |
What will the following code print out?:
```python
n = 0
while True:
if n == 3:
break
print(n)
n = n + 1
```
answers:
- |
0
1
2
- |
0
1
2
3
- |
1
2
- |
1
2
3
solution: 1
```
</section>