def step(a, b): """ 歩数を求める """ for i in range(1, b): if ((a * i) >= b): return i print(step(2, 5)) print(step(4, 9)) print(step(6, 20))