Python includes exercises 39
Title: There has been a sorted appliance repair the array. Now enter a number, required by the laws of the original insert it into the array.
Analysis procedure: first determine whether this number is greater than the last number, and then consider the case where the number of the intermediate insert, the number after the element is inserted, a position backward sequentially.
Source Code:
Examples of the above output is: