I did it again? (Main's assertions in publication)
There are mistakes in "
assert check_it(checkio((-20, -5, 10, 15))) == [-5, 10, 15, -20], "Example"  # or (-5, 10, 15, -20)
assert check_it(checkio((1, 2, 3, 0))) == [0, 1, 2, 3], "Positive numbers"
assert check_it(checkio((-1, -2, -3, 0))) == [0, -1, -2, -3], "Negative numbers""
It seems I modified the main function again. I really don't think I did so. I noticed both times that was happened the main function had a definition of a function in its body. Maybe this is a bug?
Please remove assertions from my publication (keep only lines 1-2). I'm really sorry for the trouble. Thank you for your time.
URL from: http://www.checkio.org/mission/absolute-sorting/publications/panaro32/python-3/first/
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36
assert check_it(checkio((-20, -5, 10, 15))) == [-5, 10, 15, -20], "Example"  # or (-5, 10, 15, -20)
assert check_it(checkio((1, 2, 3, 0))) == [0, 1, 2, 3], "Positive numbers"
assert check_it(checkio((-1, -2, -3, 0))) == [0, -1, -2, -3], "Negative numbers""
It seems I modified the main function again. I really don't think I did so. I noticed both times that was happened the main function had a definition of a function in its body. Maybe this is a bug?
Please remove assertions from my publication (keep only lines 1-2). I'm really sorry for the trouble. Thank you for your time.
URL from: http://www.checkio.org/mission/absolute-sorting/publications/panaro32/python-3/first/
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36