import math def minwalk(a,b): walk = b/a roundup = math.ceil(walk)#小数点切り上げ return roundup a=123456789 b=987654321 print(f"{minwalk(a,b)}")