freeCodeCamp/curriculum/challenges/chinese/07-scientific-computing-with-python/python-for-everybody/python-lists.md
2020-09-29 22:09:05 +02:00

459 B

id title challengeType isHidden videoId
5e7b9f080b6c005b0e76f064 Python Lists 11 false Y0cvfDpYC_c

Description

Tests

question:
  text: |
    What is the value of x after running this code:
    ```python
    fruit = "banana"
    x = fruit[1]
    ```    
  answers:
    - |
        banana        
    - |
        a        
    - |
        b        
    - |
        True        
  solution: 2