Golang Get Last Element Of Array Python Definition