freeCodeCamp/curriculum/challenges/chinese/07-scientific-computing-wit.../python-for-everybody/python-lists.md

43 lines
308 B
Markdown
Raw Normal View History

---
id: 5e7b9f080b6c005b0e76f064
challengeType: 11
videoId: Y0cvfDpYC_c
---
# --question--
## --text--
What is the value of x after running this code:
```python
fruit = "banana"
x = fruit[1]
```
## --answers--
banana
---
a
---
b
---
True
## --video-solution--
2
# --hints--
# --solutions--