Skip to content

Instantly share code, notes, and snippets.

View Mo-Shakib's full-sized avatar
🟢
Available

Mohamed Shakib Mo-Shakib

🟢
Available
View GitHub Profile
@Mo-Shakib
Mo-Shakib / Get-execution-time.py
Last active January 22, 2021 21:56
Get execution time in python
import time
startTime = time.time()
# write your code or function calls
endTime = time.time()
totalTime = endTime - startTime
print('Time taken to execute code =', totalTime)