--- id: 5e7b9f090b6c005b0e76f066 title: 字符串和列表 challengeType: 11 videoId: lxcFa7ldCi0 bilibiliIds: aid: 804401443 bvid: BV1By4y1j7F9 cid: 376385517 dashedName: strings-and-lists --- # --description-- 更多資源: \- [練習](https://www.youtube.com/watch?v=-9TfJF2dwHI) # --question-- ## --text-- 在這個代碼中,n 等於什麼? ```python words = 'His e-mail is q-lar@freecodecamp.org' pieces = words.split() parts = pieces[3].split('-') n = parts[1] ``` ## --answers-- 郵件 --- q --- lar --- `lar@freecodecamp.org` ## --video-solution-- 4