Commit e316f46f authored by Tony Mai's avatar Tony Mai

update

parent 6da3d9cc
...@@ -93,6 +93,6 @@ localtime = time.asctime( time.localtime(time.time()) ) ...@@ -93,6 +93,6 @@ localtime = time.asctime( time.localtime(time.time()) )
elapsed_time = time.time() - start_time elapsed_time = time.time() - start_time
print ("End time :", localtime) print ("End time :", localtime)
hours, rem = divmod(elasped_time, 3600) hours, rem = divmod(elapsed_time, 3600)
minutes, seconds = divmod(rem, 60) minutes, seconds = divmod(rem, 60)
print("Elaspse time: "+"{:0>2}:{:0>2}:{:05.2f}".format(int(hours),int(minutes),seconds)) print("Elaspse time: "+"{:0>2}:{:0>2}:{:05.2f}".format(int(hours),int(minutes),seconds))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment