Learn String Manipulation by Building a Cipher - Step 13. Struggling

Tell us what’s happening:

Describe your issue in detail here.

Your code so far


# User Editable Region

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
.find('w')text[6]

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2.1 Safari/605.1.15

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 13
https://www.freecodecamp.org/learn/scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher/step-13 its not really working ive tried a couple of other alternatives as well.

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.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

it is of wrong syntax . Try to follow the instructions

hallo sonuipad05, as in how this has become quite frustrating to be honest. assist please so i understand my exact mistake.

call .find() on your alphabet string and pass text[0] to the method.

You want to call the find method on the alphabet variable. Here’s how you call a method on a variable:

variable.method()

To pass an argument you put it in the brackets, as you’ve done here:

.find('w')

But you want to pass text[0] as an argument, not 'w'

Let us know if you have any questions!