Su spider il mio codice funziona bene ritornando la tupla richiesta. Quando però provo sul prompt a lanciare i test mi dà questo errore sulla prosodia:
FAILED test_01.py::Test::test_examples_00001_esempio - AssertionError: Lists differ: [0] != [0, 1, 1, 2, 0, 3, 4, 4, 5, 3]
FAILED test_01.py::Test::test_examples_00002_example - AssertionError: Lists differ: [0] != [0, 1, 1, 2, 1, 3, 4, 4, 5, 4]
FAILED test_01.py::Test::test_random_1024_00001_random_1024_rnd - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, [4859 chars] 601]
FAILED test_01.py::Test::test_random_102_00001_random_102_rnd - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 5, 6, 2, 7, 8, 9, 10, 11, 1[343 chars], 36]
FAILED test_01.py::Test::test_random_10_00001_random_10_rnd - AssertionError: Lists differ: [0] != [0, 0, 1, 0, 1, 2, 2, 3, 2, 3]
FAILED test_01.py::Test::test_random_1173_00001_random_1173_rnd - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 5, 6, 7, 7, 8, 5, 6, 2, 9, [5633 chars] 712]
FAILED test_01.py::Test::test_random_180_00001_random_180_ita - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 2, 4, 5, 6, 5, 7, 8, 1, 9, 10,[711 chars] 142]
FAILED test_01.py::Test::test_random_2048_00001_random_2048_rnd - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 0, 5, 6, 7, 8, 9, 10, 11, 1[10450 chars]1291]
FAILED test_01.py::Test::test_random_2592_00001_random_2592_rnd - AssertionError: Lists differ: [0] != [0, 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 1[13886 chars]1791]
FAILED test_01.py::Test::test_random_270_00001_random_270_eng - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 2, 4, 5, 6, 5, 1, 7, 8, 9, 10,[1142 chars], 78]
FAILED test_01.py::Test::test_random_2754_00001_random_2754_eng - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 5, 3, 6, 7, 8, 9, 10, 5, 7,[14659 chars]1332]
FAILED test_01.py::Test::test_random_558_00001_random_558_eng - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9, 1, 10, 6,[2575 chars] 377]
FAILED test_01.py::Test::test_random_840_00001_random_840_ita - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 7, 9, 10, 11[3992 chars] 585]
FAILED test_01.py::Test::test_examples_00001_esempio - AssertionError: Lists differ: [0] != [0, 1, 1, 2, 0, 3, 4, 4, 5, 3]
FAILED test_01.py::Test::test_examples_00002_example - AssertionError: Lists differ: [0] != [0, 1, 1, 2, 1, 3, 4, 4, 5, 4]
FAILED test_01.py::Test::test_random_1024_00001_random_1024_rnd - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, [4859 chars] 601]
FAILED test_01.py::Test::test_random_102_00001_random_102_rnd - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 5, 6, 2, 7, 8, 9, 10, 11, 1[343 chars], 36]
FAILED test_01.py::Test::test_random_10_00001_random_10_rnd - AssertionError: Lists differ: [0] != [0, 0, 1, 0, 1, 2, 2, 3, 2, 3]
FAILED test_01.py::Test::test_random_1173_00001_random_1173_rnd - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 5, 6, 7, 7, 8, 5, 6, 2, 9, [5633 chars] 712]
FAILED test_01.py::Test::test_random_180_00001_random_180_ita - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 2, 4, 5, 6, 5, 7, 8, 1, 9, 10,[711 chars] 142]
FAILED test_01.py::Test::test_random_2048_00001_random_2048_rnd - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 0, 5, 6, 7, 8, 9, 10, 11, 1[10450 chars]1291]
FAILED test_01.py::Test::test_random_2592_00001_random_2592_rnd - AssertionError: Lists differ: [0] != [0, 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 1[13886 chars]1791]
FAILED test_01.py::Test::test_random_270_00001_random_270_eng - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 2, 4, 5, 6, 5, 1, 7, 8, 9, 10,[1142 chars], 78]
FAILED test_01.py::Test::test_random_2754_00001_random_2754_eng - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 5, 3, 6, 7, 8, 9, 10, 5, 7,[14659 chars]1332]
FAILED test_01.py::Test::test_random_558_00001_random_558_eng - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9, 1, 10, 6,[2575 chars] 377]
FAILED test_01.py::Test::test_random_840_00001_random_840_ita - AssertionError: Lists differ: [0] != [0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 7, 9, 10, 11[3992 chars] 585]