# your code goes here def double(x): return x*2 doubled=list(map(double, [1,2,3,4]))print(doubled)
Standard input is empty
[2, 4, 6, 8]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!