Get Last Element Of Array Python