Pergunta de entrevista da empresa Canva

Can you modify your code to invert the result?