Last answered:

15 Nov 2022

Posted on:

10 Nov 2022

1

Resolved: SyntaxWarning: "is not" with a literal. Did you mean "!="?

I get this error when I run the exercise code, in both Exercise.ipynb and Solution.ipynb. I tried to restart and run the kernel.
It works with = = and != operators
image

1 answers ( 1 marked as helpful)
Instructor
Posted on:

15 Nov 2022

0

Hi Djeneba!
Thanks for reaching out.

It is just a warning. You can just skip it and continue.

Hope this helps.
Best,
Tsvetelin

Submit an answer