3 ms·
I wrote a (len(foo == 0)) instead of (len(foo) == 0) in Python yesterday. I don't understand why you would say this.
by cjbprime 4y ago
I wrote a (len(foo == 0)) instead of (len(foo) == 0) in Python yesterday. I don't understand why you would say this.
- toxik 4y ago… which is exactly what you don’t need to do in Python, because that is just `if foo`, thus sidestepping the issue