Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Lambda with Filter | Higher-Order Functions and Lambdas
Functional Programming Concepts in Python
Sección 2. Capítulo 7
single

single

Challenge: Lambda with Filter

Desliza para mostrar el menú

Tarea

Desliza para comenzar a programar

Apply your understanding of lambda functions and the filter function to solve this challenge. Your goal is to extract all strings longer than 3 characters from a given list of strings.

  • Use a lambda function as the filtering criteria.
  • Use filter to apply the lambda function to the input list.
  • Return a list containing only the strings whose length is greater than 3.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 7
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

some-alt