0

How do i find how seconds my program take to run in python ?

12th Jan 2019, 4:36 PM
Programmer Raja
Programmer Raja - avatar
2 Respostas
+ 5
from time import perf_counter start = perf_counter() # Your code here print("Time taken:", perf_counter() - start)
12th Jan 2019, 5:01 PM
Kishalaya Saha
Kishalaya Saha - avatar