Dec-05-2017, 11:48 AM
You can chain them:
>>> a, b, c, d = 1, 1, 1, 1 >>> a == b == c == d True >>>But I like the @DeaD_EyE's answer more. I have to see this reduce and operator methods.