Back to Freecodecamp

Python Lists

curriculum/challenges/english/blocks/python-for-everybody/5e7b9f080b6c005b0e76f064.md

latest199 B
Original Source

--questions--

--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