find the value of a list code example Example: python find item in list >>> ["foo", "bar", "baz"].index("bar") 1