C1M2_Assignment in Exercise 2

When I do the exercise , I passed the exercise 1, and My code is right I know , but the exercise 2 cannot let me pass. And it has problem but I had worked it out,and it keeps reporting errors and cannot pass.
Furthermore, I saved it again, restarted the server, and re-ran each cell one by one, but it still reported an error in exercise 2.

(Solution code removed, as posting it publicly is against the honour code of this community, regardless if it is correct or not. You can share the errors you get)

1 Like

The same problem in exercise 3.
(Solution code removed, as posting it publicly is against the honour code of this community, regardless if it is correct or not. You can share the errors you get)

1 Like

same problem in exercise 4
(Solution code removed, as posting it publicly is against the honour code of this community, regardless if it is correct or not. You can share the errors you get)

1 Like

Hi @Amnaun,

Try the solution without using brackets () for the boolean statements.

Let me know what happens.

Best,
Mubsi

1 Like

Good point.

The grader’s parser for these assignments seems to have a struggle when it comes to whitespace and parenthesis.

1 Like