https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof/
每日一题:递归
class Solution: def translateNum(self, num): if 0 <= num <= 9: return 1 a = num % 100 if 10 <= a and a<=25: return self.translateNum(num//100) + self.translateNum(num//10) else: return self.translateNum(num//10)