Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Slicing with Index Function | Strings
Tipos de Datos en Python
course content

Contenido del Curso

Tipos de Datos en Python

Tipos de Datos en Python

1. Familiarizándonos con los Números en Python
2. ¿Verdadero o Falso?
3. Strings
4. Reuniendo Todos los Temas

book
Challenge: Slicing with Index Function

Tarea
test

Swipe to begin your solution

Try to extract words using slicing, but in a little bit more complicated way. The syntax of slicing is the following: word[start_index:end_index]. To find the start_index, use the index() method, and to find the end_index, use the index() method, and add the length of the word.

  1. Extract the word painful; the length is 7.
  2. Extract the word mistakes; the length is 8.
  3. Extract the word learn; the length is 5.

If you use all the methods that were explored, this task won't be challenging for you.😏

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 11
toggle bottom row

book
Challenge: Slicing with Index Function

Tarea
test

Swipe to begin your solution

Try to extract words using slicing, but in a little bit more complicated way. The syntax of slicing is the following: word[start_index:end_index]. To find the start_index, use the index() method, and to find the end_index, use the index() method, and add the length of the word.

  1. Extract the word painful; the length is 7.
  2. Extract the word mistakes; the length is 8.
  3. Extract the word learn; the length is 5.

If you use all the methods that were explored, this task won't be challenging for you.😏

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 11
Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
We're sorry to hear that something went wrong. What happened?
some-alt