Run ❯
Get your
own Python
server
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
thistuple = (1, 3, 7, 8, 7, 5, 4, 6, 8, 5) x = thistuple.index(8) print(x)
x
thistuple
=
(
1
,
3
,
7
,
8
,
7
,
5
,
4
,
6
,
8
,
5
)
x
=
thistuple
.
index
(
8
)
print
(
x
)
3