python/school/008_5_5.py · 110 字节 · 下载原文
def demo(t):
a, b = 1, 1
while b<t:
a, b = b, a+b
else:
return b
print(demo(50))
python/school/008_5_5.py · 110 字节 · 下载原文
def demo(t):
a, b = 1, 1
while b<t:
a, b = b, a+b
else:
return b
print(demo(50))