Learnt new list comprehension including IF statement.