def metric(func): def time_run(*args): t1 = time.time() result = func(*args) t2 = time.time() intertime = t2 - t1 print(intertime) return result return time_run
厉害
Sign in to make a reply
李离子电池