Desafío: Ejercicios de Segmentación y Búsqueda
Tarea
Swipe to start coding
Use simple string tools — methods, slicing, in, and f-strings — to complete each expression.
All variables are already defined — do not change them.
Compute:
name_clean— remove extra spaces fromfull_name.has_quick— check if"quick"appears insentence(case-insensitive).inside_parens— extract text between parentheses(and).o_count— count how many'o'letters are insentence(case-insensitive).domain— fromemail, take everything after@(after trimming and lowercasing).report— build"Name | Domain | Count"using an f-string andSEP.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. Capítulo 6
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Genial!
Completion tasa mejorada a 3.45
Desafío: Ejercicios de Segmentación y Búsqueda
Desliza para mostrar el menú
Tarea
Swipe to start coding
Use simple string tools — methods, slicing, in, and f-strings — to complete each expression.
All variables are already defined — do not change them.
Compute:
name_clean— remove extra spaces fromfull_name.has_quick— check if"quick"appears insentence(case-insensitive).inside_parens— extract text between parentheses(and).o_count— count how many'o'letters are insentence(case-insensitive).domain— fromemail, take everything after@(after trimming and lowercasing).report— build"Name | Domain | Count"using an f-string andSEP.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. Capítulo 6
single