by pythonaut_16 · 9y ago · 0 comments
if (aBooleanVariable) will return true for any truthy value, not just 'True'.
Of course I still prefer writing my if statements that way, it's just something you have to watch for if something does go wrong.
No comments yet.