from coroutil import coroutine #这里就是我们实现的装饰器函数@coroutine def averager(): total = 0.0 count = 0 average = None while True: term = yield average ...
確定! 回上一頁