📜  计算加密时间的python代码 - Python代码示例

📅  最后修改于: 2022-03-11 14:46:24.397000             🧑  作者: Mango

代码示例1
import timeit

setup_code = "from math import factorial"

statement = """
    for i in range(10):
        factorial(i)
"""

print(f"Execution time is: {timeit.timeit(setup = setup_code, stmt = statement, number = 10000000)}")