#23 if for Lists in Python (Python Tutorials)
Writing if statement and for loop inside a list
In this part of our python tutorials series, you will learn how to directly write
an if statement inside of a list in python next to a for loop. In addition, you will
also learn how to loop through another list and exclude a certain element from that
list into the new one.