Che1's Dev Blog
Reading time ~1 minute
def solution(X, Y, D): if (Y - X) % D == 0: return (Y - X) // D else: return (Y - X) // D + 1
Codility