Think about the last time you were solving a problem! Did you have more than 1 approach to solve it? Don’t know about life, but Python has a great module to help you decide the better (fastest) way to solve a problem. Let me introduce you to the timeit
Drool 4: Benchmark your Python code better
Drool 4: Benchmark your Python code better
Drool 4: Benchmark your Python code better
Think about the last time you were solving a problem! Did you have more than 1 approach to solve it? Don’t know about life, but Python has a great module to help you decide the better (fastest) way to solve a problem. Let me introduce you to the timeit