My Python Quiz

The ultimate place to learn Python!

Question #30: What sequence of numbers is printed?

values = [2, 3, 2, 4]

def my_transformation(num):
    return num ** 2

for i in  map(my_transformation, values):
    print i