fork download
  1. # your code goes here
  2. numbers = [1, 2, 3, 4, 5]
  3. result = [n * 2 for n in numbers if n % 4 == 0]
  4. print(result)
Success #stdin #stdout 0.03s 9660KB
stdin
Standard input is empty
stdout
[8]