Measuring File script execution time in python

আমাদের অনেক সময় python এ কোড করার পর Execution time দেখার প্রয়োজন হয়। তার জন্য এই ছোট্ট লাইনগুলো তোমার কোড এ বসিয়ে দাও।

import time
start = time.time()

"your code will be here"

end = time.time()
print(end - start)

Leave a Reply

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