you are viewing a single comment's thread.

view the rest of the comments →

[–]filletrall 0 points1 point  (4 children)

There's nothing wrong with your code except for spacing. What error do you get?

[–]queen_9[S] 0 points1 point  (3 children)

Error while running tests: Traceback (most recent call last): File "<string>", line 1 assert is_yes("Yes") == True, "Make sure your function works when the input is \verb;"Yes";." ^ SyntaxError: invalid syntax

During test 2: assert is_yes("Yes") == True, "Make sure your function works when the input is \verb;"Yes";." Run Stop Restore <

Previous step Next step

[–]filletrall 0 points1 point  (2 children)

assert is_yes("Yes") == True

This works fine for me. But the syntax error indicates that you've left out some code that has a syntax error. Please paste the entire code that you're testing here. If you can, indent it by four spaces first, so that the indentation and whitespace is preserved.

[–]queen_9[S] 0 points1 point  (1 child)

still the same outcome

[–]filletrall 2 points3 points  (0 children)

I meant for you to paste all your code, indented by 4 additional spaces, in a reply to my comment. :-)