Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Desafío: Ejercicios de Segmentación y Búsqueda | Cadenas de Texto
Tipos de Datos en Python

bookDesafí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 defineddo not change them.

Compute:

  1. name_clean — remove extra spaces from full_name.
  2. has_quick — check if "quick" appears in sentence (case-insensitive).
  3. inside_parens — extract text between parentheses ( and ).
  4. o_count — count how many 'o' letters are in sentence (case-insensitive).
  5. domain — from email, take everything after @ (after trimming and lowercasing).
  6. report — build "Name | Domain | Count" using an f-string and SEP.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 6
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

close

bookDesafí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 defineddo not change them.

Compute:

  1. name_clean — remove extra spaces from full_name.
  2. has_quick — check if "quick" appears in sentence (case-insensitive).
  3. inside_parens — extract text between parentheses ( and ).
  4. o_count — count how many 'o' letters are in sentence (case-insensitive).
  5. domain — from email, take everything after @ (after trimming and lowercasing).
  6. report — build "Name | Domain | Count" using an f-string and SEP.

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 3. Capítulo 6
single

single

some-alt