Get Last Index Of An Array In Python