Page 26 - PYTHON-11
P. 26

Program 20 - WAP to shift the negative number to left and the positive
               numbers to right so that the resultant list will look like.
                          Original list   [-12, 11, -13, -5, 6, -7, 5, -3, -6]

                         Output should be [11, 6, 5, -6, -3, -7, -5, -13, -12]
               Code:
























               ********Output of the program********
   21   22   23   24   25   26   27   28   29   30   31