Is there some syntax to unpack a tuple but have an alternate value if one of the values is falsy?
Is there some syntax to unpack a tuple but have an alternate value if one of the values is falsy? Question: Example I might have: x = None y = x or 0 In a tuple, am I able to somehow unpack the tuple but give some default value if a falsy value is found? …