Getting Last Element Of Array Python Definition