a = 2 b = -10.1 import math if b / a >= 0: print(math.ceil(b / a)) else: print(math.ceil(b / a - 1))