My programm runs and give the correct aswer, but with the Test button give error

In Excercise 17, advanced level, the Run button prints (2, 3) as answer but the Test button print an error

Test Failed: AssertionError: '(0, 1)' not found in ['(2, 3)', '(3, 2)']

In Excercise 18, intermediate level, the Run button prints

[0.0954, 0.1908, 0.0, 0.0, 0.0352, 0.0352, 0.0, 0.0]
[0.0, 0.0, 0.044, 0.044, 0.044, 0.0, 0.1193, 0.0]
[0.0, 0.0, 0.044, 0.044, 0.0, 0.044, 0.0, 0.1193]

and the Test button prints error

Test Failed: AssertionError: False != True : Values have not been represented at least once or are not unique.

can someone assist me?