freeCodeCamp/curriculum/challenges/italian/07-scientific-computing-wit.../python-for-everybody/strings-and-lists.md

52 lines
579 B
Markdown
Raw Normal View History

---
id: 5e7b9f090b6c005b0e76f066
title: Stringhe e liste
challengeType: 11
videoId: lxcFa7ldCi0
bilibiliIds:
aid: 804401443
bvid: BV1By4y1j7F9
cid: 376385517
dashedName: strings-and-lists
---
# --description--
Altre risorse:
\- [Esercizio](https://www.youtube.com/watch?v=-9TfJF2dwHI)
# --question--
## --text--
Quanto vale n in questo codice?
```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