 If you see code like this, fix it. So one of the best features of Python are list comprehensions. If you didn't know, you can write most Python code to be more compact and expressive using list comprehensions. So generally a list comprehension begins with a set of brackets, followed by an expression, then one or more clauses, and zero or more if clauses. So a list comprehension should look something like this. Okay so a basic example is something like this. Let's say I want a list with random elements. We can write something like this. We can also apply filters to list comprehensions. Let's say I want a list with even numbers from 0 to 10. So Python generated a list of even numbers. We're generating even numbers by checking if x modulo 2 is 0. So how about nesting these together? So in this example I nested two list comprehensions together, where the size of the second is dependent on the value of the first. So if I want to generate every combination of two lists, I could do something like this. And as you can see we're using multiple four clauses for this example. Okay so I hope you learned something in this video. If you want to see more videos like this one, remember to subscribe to this channel and I will see you later.