Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
fruits = ['apple', 'banana', 'cherry'] x = fruits.index("cherry") print(x)
2