Pergunta de entrevista da empresa General Motors (GM)

What is activation function? Write a code to print even numbers.