In a comment on this question, I saw a statement that recommended using

result is not None

vs

result != None

I was wondering what the difference is, and why one might be recommended over the other?

5 Answers
5

Leave a Reply

Your email address will not be published. Required fields are marked *