Learn String Manipulation by Building a Cipher - Step 28

Tell us what’s happening:

can anyone help me with this i am stuck on this task

Your code so far


# User Editable Region

Step 28Passed
find is again returning -1 for uppercase letters, and for the space character, too. You are going to take care of the space later on.

For now, instead of iterating over text, change the for loop to iterate over text.lower().

# User Editable Region

Your browser information:

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

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 28

Hi @bgpeze

Welcome to FCC. What is it that you don’t understand about the task?

what it is i am supposed to change

it would be helpful if you posted your code so we can help

So what is the code.

Welcome back to the forum @bgpeze

You should modify your for loop to iterate over text.lower() instead of text.

Here is the for loop

for char in text:

At the moment it is iterating over text.

Happy coding