[python] Determine Whether Integer Is Between Two Other Integers?