The code in question that I do not fully understand is this:
[print(x) if x < 5 else None for x in [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]]
It outputs:
1
1
2
3
The code does not work without the square brackets so I'm wondering what its purpose is?