Let's separate this out:
22 and 333/12 or 1
(22 and 333/12) or (1) # Parentheses are nice
(22 and 27) or (1) # 333/12 = 27 because you are using integers for division
22 and 27 # 22 and 27 is True, as neither of them is False
27 # Not sure why anything is returned, but the second
# value always returned if it is True