Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # list_find_index.py
- vals = ['item_00','item_01','item_02','item_03','item_04']
- print "The index value of 'item_03' is", vals.index('item_03') # prints 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement