Quiz Catalog

Catalog of quizzes

mult_value = 2
lst = [2, 5, 11, 9]

iterator = map(lambda x: x * mult_value, lst)

mult_value = 1
lst = [1, 4, 10, 8]

print(*list(iterator))
2 5 11 9
  • function/lambda/closures