Today we begin a new series on the site - The Python Lab.

In The Python Lab, we take small tips to write clean, pythonic code and give a full break down so you can understand how they work.

Today, we ask: How do you flatten a list in Python?

Flattening a list

Lets see how this piece of code works 👇🏾

Tagged in: