how to get index of element in list python not with index code example Example: how to find item in list python without indexnig >>> ["foo", "bar", "baz"].index("bar") 1