Skip main navigation

New offer! Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. New subscribers only. T&Cs apply

Find out more

NumPy arrays

Throughout this week you have learned about time and space complexities, the data structures of Python, and the implications for time complexities of algorithms and operations that you can perform …

Big O notation

Big O notation is a way to describe how the time complexity/efficiency of an algorithm (or function) scales with the size of the data that it is processing. In this …

The ‘Wraps’ decorator

The wraps decorator can be used to preserve the original name and docstring of the original function. Without the wraps decorator, these would be replaced which is not ideal. Now, …

The format method with *args and **kwargs

You have learned a lot about positional arguments, keyword arguments, *args and **kwargs, and we have created some simple functions to help understand these concepts. In this video, we look …

Introduction to `argparse`

In this video, you will begin to learn about the Python module, named argparse. argparse provides more functionality, and although it requires a bit more work, it is the preferred …

Common problem with VS Code

In this video, you will learn about a very common annoyance when running Python code from VS Code. Were you able to guess what this problem could be in the …