Python3 Lambda
\n\ns = lambda n: n if n < 10 else n % 10 + s(n//10)\np = lambda n: n if n < 10 else (n%10) * p(n//10) \n\nclass Solution:\n    def subtractProductAndSum(self, 
\n```\ns = lambda n: n if n < 10 else n % 10 + s(n//10)\np = lambda n: n if n < 10 else (n%10) * p(n//10) \n\nclass Solution:\n    def subtractProductAndSum(self, n: int) -> int:\n        return p(n) - s(n)\n```\n
[]