def solution(X, Y, D): answer = 0 if Y >= X: if (Y-X) % D >0 : answer = (Y-X)//D + 1 else : answer = (Y-X)//D return answer