I want to print fib(5) of fibonacci series in python to find no. of times fib(0) ? error 'function' object has no attribute '_args_counter'

后端 未结 0 874
醉梦人生
醉梦人生 2020-12-18 04:05
import collections
import functools

def check(func):
    func._args_counter = collections.Counter()
    @functools.wraps(func)
    def wrapper(*args):
        key =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题