time a line of code python

43

import time
start = time.process_time()
# your code here    
print(time.process_time() - start)

Comments

Submit
0 Comments