a is less than b by 2 python code code example Example: python if greater than and less than if 10 < a < 20: whatever