Seção 2. Capítulo 6
single
Challenge: Lambda with Map
Deslize para mostrar o menu
Tarefa
Deslize para começar a programar
Write a lambda function that returns the cube of its argument and use it with map to process a list.
- The
lambdafunction must return the cube of its argument. - Use
mapto apply the lambda function to each element in thenumberslist. - Store the result as a list in the
cubed_numbersvariable.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 6
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo