[lang-ref] ( list_indexof ) ( python )
def test_list_indexof():
# index
items = ['A', 'B', 'C', 'D', 'E']
pos = items.index('C')
assert pos == 2
def test_list_indexof():
# index
items = ['A', 'B', 'C', 'D', 'E']
pos = items.index('C')
assert pos == 2