Fixed the code now it pass all the tests
This commit is contained in:
parent
72279ed09e
commit
401d9ef2df
|
|
@ -26,7 +26,7 @@ def send_to_goulag(main_list:list)->list:
|
|||
|
||||
i = 0
|
||||
|
||||
while i < len(main_list) - 1:
|
||||
while i < len(main_list):
|
||||
if itens_to_be_reinserted[0] < main_list[i]:
|
||||
main_list[i:i] = itens_to_be_reinserted
|
||||
itens_to_be_reinserted.clear()
|
||||
|
|
|
|||
Loading…
Reference in New Issue