Files

52 lines
580 B
Markdown
Raw Permalink Normal View History

---
id: 5e7b9f090b6c005b0e76f066
2020-04-21 23:37:02 -05:00
title: Strings and Lists
challengeType: 11
videoId: lxcFa7ldCi0
bilibiliIds:
aid: 804401443
bvid: BV1By4y1j7F9
cid: 376385517
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