Learn String Manipulation by Building a Cipher - Step 17

Tell us what’s happening:

Step 17 - tried “everything” and didnt solve it…

Your code so far


# User Editable Region

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

# 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.4.1 Safari/605.1.15

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 17

Hi,
welcome to the forum :wave:

Can’t have a space between “print” and the brackets.

Just like find here:

alphabet.find(text[0].lower)

No space

Instructions say:

print text.lower()

But you are printing index

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.