Fortinet Interview Question

Python list comprehension