The error’s happening because `=` is for assigning values (like `x = 5`), but `==` is for comparing.
For debugging, I’d recommend using an IDE like PyCharm or VS Code—they highlight syntax error examples in real-time so you don’t waste time scratching your head.
For debugging, I’d recommend using an IDE like PyCharm or VS Code—they highlight syntax error examples in real-time so you don’t waste time scratching your head.
