32 lines
490 B
Markdown
32 lines
490 B
Markdown
|
---
|
||
|
id: 5e7b9f060b6c005b0e76f05c
|
||
|
title: Iterations A
|
||
|
challengeType: 11
|
||
|
isRequired: true
|
||
|
videoId: dLA-szNRnUY
|
||
|
---
|
||
|
|
||
|
## Description
|
||
|
<section id='description'>
|
||
|
|
||
|
</section>
|
||
|
|
||
|
## Tests
|
||
|
<section id='tests'>
|
||
|
|
||
|
```yml
|
||
|
question:
|
||
|
text: 'What will the following code print out:
|
||
|
<pre>
|
||
|
n = 0<br>
|
||
|
while True:<br> if n == 3:<br> break<br> print(n)<br> n = n + 1</pre>'
|
||
|
answers:
|
||
|
- '0<br>1<br>2'
|
||
|
- '0<br>1<br>2<br>3'
|
||
|
- '1<br>2'
|
||
|
- '1<br>2<br>3'
|
||
|
solution: 1
|
||
|
```
|
||
|
|
||
|
</section>
|