Answers for "how to pront the time in python"

1

use datetime python to get runtime

from datetime import datetime

start = datetime.now()
# code ...
print(datetime.now()-start)
Posted by: Guest on October-23-2020

Code answers related to "how to pront the time in python"

Python Answers by Framework

Browse Popular Code Answers by Language