r/badcode • • May 05 '20

python Next Level

Post image
840 Upvotes

56 comments sorted by

View all comments

1

u/TheMsDosNerd Aug 01 '20

>>> a = 1 + 1j - 1j

>>> a == 1

True

>>> isNegative(a)

True