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

44 lines
391 B
Markdown
Raw Normal View History

---
id: 5e7b9f080b6c005b0e76f064
title: Python 列表
challengeType: 11
videoId: Y0cvfDpYC_c
bilibiliIds:
aid: 249460305
bvid: BV1Dv411E7Uj
cid: 376532993
dashedName: python-lists
---
# --question--
## --text--
在這些代碼運行後x 的值是什麼?
```python
fruit = "banana"
x = fruit[1]
```
## --answers--
banana
---
a
---
b
---
True
## --video-solution--
2