2020-04-06 14:49:56 -04:00
|
|
|
---
|
|
|
|
id: 5e7b9f060b6c005b0e76f05c
|
2020-04-21 23:37:02 -05:00
|
|
|
title: Loops and Iterations
|
2020-04-06 14:49:56 -04:00
|
|
|
challengeType: 11
|
2020-05-25 19:15:32 +05:30
|
|
|
isHidden: true
|
2020-04-06 14:49:56 -04:00
|
|
|
isRequired: true
|
|
|
|
videoId: dLA-szNRnUY
|
|
|
|
---
|
|
|
|
|
|
|
|
## Description
|
|
|
|
<section id='description'>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
## Tests
|
|
|
|
<section id='tests'>
|
|
|
|
|
|
|
|
```yml
|
|
|
|
question:
|
2020-05-28 22:40:36 +09:00
|
|
|
text: 'What will the following code print out?:
|
2020-04-06 14:49:56 -04:00
|
|
|
<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>
|