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

638 B

id title challengeType videoId
5e7b9f090b6c005b0e76f066 Strings and Lists 11 lxcFa7ldCi0

Description

More resources: - Exercise

Tests

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        
  solution: 4