more_list_comprehension.py 76 B

1234
  1. listone = [2, 3, 4]
  2. listtwo = [2*i for i in listone if i > 2]
  3. print listtwo