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

40 lines
323 B
Markdown
Raw Normal View History

---
id: 5e7b9f080b6c005b0e76f064
title: Python 列表
challengeType: 11
videoId: Y0cvfDpYC_c
dashedName: python-lists
---
# --question--
## --text--
在这些代码运行后x 的值是什么?
```python
fruit = "banana"
x = fruit[1]
```
## --answers--
banana
---
a
---
b
---
True
## --video-solution--
2