Golang Last Index Of Array Python Definition