freeCodeCamp/curriculum/challenges/english/07-scientific-computing-wit.../python-for-everybody/strings-in-python.english.md

31 lines
471 B
Markdown

---
id: 5e7b9f070b6c005b0e76f060
title: Strings in Python
challengeType: 11
isHidden: true
isRequired: true
videoId: LYZj207fKpQ
---
## Description
<section id='description'>
</section>
## Tests
<section id='tests'>
```yml
question:
text: 'What will the following code print?:
<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>