پاسخ پرسش پرش قورباغه O(n)
def frog_jump(x, y, d): count = 0 while x < y: x += d count += 1 return count