def checkio(numbers_array: tuple) -> list:
x=[]
for n in numbers_array:
x.append(n)
if len(x) == 1:
continue
if len(x) >= 2:
while abs(n)<abs(x[x.index(n)-1]):
x.insert(x.index(n)-1,n)
del x[x.index(n)+2]
return x
plese tell me where is wrong!
Created at: 2019/03/24 15:17; Updated at: 2019/03/25 12:55
The question is resolved.