filter python di ailst

[x for x in inputList if condition]
Dream Shift