Shift Right Array Javascript Push Method In Python