how to know the index of an item in a matrix python code example Example: how to find item in list python without indexnig >>> ["foo", "bar", "baz"].index("bar") 1