Python String Find Index Of An Array In Python Definition