2020-08-13 12:00:20 +02:00
|
|
|
---
|
|
|
|
id: 5e7b9f080b6c005b0e76f064
|
|
|
|
challengeType: 11
|
|
|
|
videoId: Y0cvfDpYC_c
|
2021-01-13 03:31:00 +01:00
|
|
|
dashedName: python-lists
|
2020-08-13 12:00:20 +02:00
|
|
|
---
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
# --question--
|
|
|
|
|
|
|
|
## --text--
|
|
|
|
|
|
|
|
What is the value of x after running this code:
|
|
|
|
|
|
|
|
```python
|
|
|
|
fruit = "banana"
|
|
|
|
x = fruit[1]
|
2020-08-13 12:00:20 +02:00
|
|
|
```
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
## --answers--
|
|
|
|
|
|
|
|
banana
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
a
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
b
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
True
|
|
|
|
|
|
|
|
## --video-solution--
|
|
|
|
|
|
|
|
2
|
|
|
|
|