Skip to content

Python code snippet – How to time ?

import time

start = time.time()
end = time.time()
print(end - start)
See also  How to find if user input is lower case or upper case in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.