How To Access Last Element Of Array In Python