2020-04-06 14:49:56 -04:00
|
|
|
---
|
|
|
|
id: 5e7b9f070b6c005b0e76f060
|
2020-04-21 23:37:02 -05:00
|
|
|
title: Strings in Python
|
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: LYZj207fKpQ
|
|
|
|
---
|
|
|
|
|
|
|
|
## 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?:
|
2020-04-06 14:49:56 -04:00
|
|
|
<pre>for n in "banana":<br> print(n)</pre>'
|
|
|
|
answers:
|
|
|
|
- 'n<br>n'
|
|
|
|
- '0<br>1'
|
|
|
|
- '0<br>1<br>2<br>3<br>4<br>5'
|
|
|
|
- 'b<br>a<br>n<br>a<br>n<br>a'
|
|
|
|
solution: 4
|
|
|
|
```
|
|
|
|
|
|
|
|
</section>
|