Bro, `=` ain’t the same as `==`. First one’s for setting stuff, second’s for checking.
Python’s error messages are actually pretty helpful once you get used to ’em. Next time you see "invalid syntax," check the symbol it’s pointing at—usually a typo or wrong operator.
Python’s error messages are actually pretty helpful once you get used to ’em. Next time you see "invalid syntax," check the symbol it’s pointing at—usually a typo or wrong operator.
