EPAM Systems interview question

list comprehension python with a if condition