Hatsy Rei i understand your explanation. I recently had a problem like this in python. Is there a way we can do this?
I want a user to input an integer n, between 2 to 5 and output a string if the input is even.
Tried doing this
if n % 2 == 0 and 2 == n <= 5:
print ("Not Weird")
Didn't work. I tried another way and got it.
Sorry for the long story but is there a way we can write this an one expression instead of two?