48 lines
512 B
Markdown
Raw Normal View History

---
id: 5e7b9f090b6c005b0e76f066
2020-04-21 23:37:02 -05:00
title: Strings and Lists
challengeType: 11
videoId: lxcFa7ldCi0
dashedName: strings-and-lists
---
# --description--
More resources:
\- [Exercise](https://www.youtube.com/watch?v=-9TfJF2dwHI)
# --question--
## --text--
What does n equal in this code?
```python
words = 'His e-mail is q-lar@freecodecamp.org'
pieces = words.split()
parts = pieces[3].split('-')
n = parts[1]
```
## --answers--
mail
---
q
---
lar
---
`lar@freecodecamp.org`
## --video-solution--
4