I have a bunch of variables that I need to verify whether they are within a determined range.
Below is a quick example to demonstrate what I want to achieve.
a=1
b=3
c=5
if 0 <= {a,b,c} <= 6:
print("yes")
else:
print("no")
I expect it to print yes but it prints no. What I'm I doing wrong?