Python

简单,你没想到

2017-12-28  本文已影响0人  楼上那位
def fibo():
    a, b = 0,1
    while a < 100:
        yield a
        a, b = b, a+b
上一篇 下一篇

猜你喜欢

热点阅读