求解答这样为何不对?
def performance(f): start_time = time.time() def fn(n): return f(n) print("--- %s seconds ---" % (time.time() - start_time)) return fn
为何这样都不通过??
def performance(f): start_time = time.time() def fn(n): return f(n) print("--- %s seconds ---" % (time.time() - start_time)) return fn
为何这样都不通过??
2015-08-06
举报