递归函数 def runupstairs(t, n): if n == 1: return 1 if n == 2: return 2 else: return t.runupstairs[n - 1] + t.runupstaris[n -2]