class Solution: def numMovesStones(self, a: int, b: int, c: int) -> 'List[int]': l = list() l.append(a) l.append(b) l.append(c) l = sorted(l) r = list() minval = 0 maxval = 0 if l[1] - l[0] == 1 and l[2] - l[1] == 1: return [minval,maxval] elif (l[1]…