how do I write a concise/neat boolean condition to test if all the integers in a tuple are in a given range? Something like
0 < (1,2,3) < 50
would be perfect - of course that doesn't work because it uses lexicographical ordering, so also
0 < (1,2,-3) < 50
evaluates to True. Instead I would want it to evaluate to True if and only if all the numbers are in the range.