(Mar-08-2017, 08:36 PM)Federer Wrote: I want to check if any of this variable over 200 must print not within range
If the only necessary check is whether any variable is (not) above 200, maybe this is sufficient:
a = 12 b = 30 c = 50 # testing if variables a,b,c within the range if a <= 200 and b <= 200 and c <= 200: print('a , b , c within the range') else: print('a or b or c not within the range')