# Learn String Manipulation by Building a Cipher - Step 17

**URL:** <https://forum.freecodecamp.org/t/learn-string-manipulation-by-building-a-cipher-step-17/674714>\
**Category:** General\
**Tags:** español\
**Created:** [February 24, 2024, 2:30am UTC](https://forum.freecodecamp.org/t/learn-string-manipulation-by-building-a-cipher-step-17/674714 "2024-02-24T02:30:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LizLlanos](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lizllanos/32/354424_2.png) [@LizLlanos](https://forum.freecodecamp.org/u/LizLlanos)\
**Post date:** [February 24, 2024, 2:30am UTC](https://forum.freecodecamp.org/t/learn-string-manipulation-by-building-a-cipher-step-17/674714/1 "2024-02-24T02:30:52Z")

</div>

### Tell us what’s happening:

Describe tu problema en detalle aquí.

### Your code so far

```py

# User Editable Region

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
index = alphabet.find(text[0])
print(index)
alphabet.find(text[0].lower()))

# User Editable Region

```

### Your browser information:

El agente de usuario es: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36`

### Challenge Information:

Learn String Manipulation by Building a Cipher - Step 17

> **[freeCodeCamp.org](https://www.freecodecamp.org/espanol/learn/scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher/step-17)**
>
> Aprende a programar, ¡GRATIS!

---

<div class="post-metadata">

**Author:** ![franciscomelov](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/franciscomelov/32/257220_2.png) [@franciscomelov](https://forum.freecodecamp.org/u/franciscomelov)\
**Post date:** [February 24, 2024, 3:12am UTC](https://forum.freecodecamp.org/t/learn-string-manipulation-by-building-a-cipher-step-17/674714/2 "2024-02-24T03:12:19Z")

</div>

para esta parte de la instruccion:

> instead of `text[0]` , pass `text[0].lower()` to `.find()` and see the output.

tu agregaste:

```auto
alphabet.find(text[0].lower()))

```

al final del código.  
lo que tenías que hacer era modificar el valor de la variable index, siguiendo esas instrucciones.  
tambien reviza tus paréntesis:

```auto
alphabet.find(text[0].lower()))

```

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 7, 2025, 2:23pm UTC](https://forum.freecodecamp.org/t/learn-string-manipulation-by-building-a-cipher-step-17/674714/3 "2025-01-07T14:23:44Z")

</div>

Closed on January 7, 2025, 2:23pm UTC


