Time Related Tips
Learn how to write time-efficient Python code.
Time it
A popular saying among programmers is “Make it right, then make it fast.” Assuming that our program is correct and that we have several solutions, we want the fastest option. This is often the case in Python, despite the principle from The Zen of Python that says: “There should be one—and preferably only one— obvious way to do it.”
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy