Python Temukan Indeks berdasarkan Nilai
>>> ["foo", "bar", "baz"].index("bar")
1
Cook's Tree Boa
>>> ["foo", "bar", "baz"].index("bar")
1
# To return the index of the first occurence of element x in lst
ind = lst.index(x)