summaryrefslogtreecommitdiff
path: root/progs/a921.py
blob: 59ceb7d06c36f5b15abe15cefac59e4daead05c7 (plain)
1
2
def digit_distance_nums(n1, n2):
         return sum(map(int,str(abs(n1-n2))))