# Learn String Manipulation by Building a Cipher - Step 15

### Tell us what’s happening:

Describe your issue in detail here.

``````
/* User Editable Region */

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

/* User Editable Region */

``````

User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36`

### Challenge Information:

Learn String Manipulation by Building a Cipher - Step 15

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

Hi, welcome to the forum!
We see you have posted some code but did you have a question?

(You have not filled out the “Tell us what’s happening:” field above)

Hi below code is not working:

text = ‘Hello World’

shift = 3

alphabet = ‘abcdefghijklmnopqrstuvwxyz’

index = alphabet.find(text[0])

print(index)

find(text[0].lower())
text.find(text[0].lower())

as an answer to Step 15 which is weird as I´m passing text[0].lower() as an argument into the find function.

The bottom editor is giving me this:

Sorry, your code does not pass. Hang in there.

You should remove your last print() call.

Hello Bool,

The question asks you to replace the `text[0]` code that you already had written with `text[0].lower()`. So essentially all you’re doing is making the char a lower case instead.

The last two lines you added aren’t necessary, you just have to edit the `index` variable assignment.

1 Like

I guess I don´t understand the question:

# Step 15

Remove the last `print()` call. Then, instead of `text[0]`, pass `text[0].lower()` to `find()` and see the output.

I believe that the instruction:
" Remove the last `print()` call. Then, instead of `text[0]` , pass `text[0].lower()` to `find()` and see the output."
is not correct

Now I got it to work with this code instead:
text = ‘Hello World’

shift = 3

alphabet = ‘abcdefghijklmnopqrstuvwxyz’

index = alphabet.find(text[0].lower())

print(index)

If you´d provided the following it would´ve made more sense:

# Step 15

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

1 Like

remove this line, `find` is not defined, so you are getting a syntax error and making the tests not work

Thx Ilenia, I fixed the problem, see previous post