(array, value)
| 57 | |
| 58 | print("Example 2") |
| 59 | def insert_value(array, value): |
| 60 | for i, existing in enumerate(array): |
| 61 | if existing > value: |
| 62 | array.insert(i, value) |
| 63 | return |
| 64 | array.append(value) |
| 65 | |
| 66 | |
| 67 | print("Example 3") |
no test coverage detected