reddit python 3 time a python program code example
Example: reddit python 3 time a python program
import time
start = time.time()
#the rest of your code
print '{0:.2f} seconds elapsed.'.format(time.time()-start)
import time
start = time.time()
#the rest of your code
print '{0:.2f} seconds elapsed.'.format(time.time()-start)