#!/usr/local/bin/python3 def even(xs): return [x for x in xs if x % 2 == 0] xs = range(1, 10) print even(xs)