How to represent one hour in Python

1 Answer

0 votes
from datetime import timedelta

hour = timedelta(hours=1)

print(hour)




'''
run:

1:00:00

'''

 



answered Oct 20, 2020 by avibootz

Related questions

...