📜  python 时间执行 - Python 代码示例

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

代码示例5
#Python time execution
import time
start_time = time.time()
print("Hello")     # Hello
end_time = time.time()
total_time = end_time - start_time
print("Time: ", total_time)