Learn String Manipulation by Building a Cipher - Step 17

Tell us what’s happening:

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

I added text.lower (‘Hello World’) but cannot print out. How to solve this error?

Your code so far


# User Editable Region

text = text.lower('Hello World')
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
index = alphabet.find(text[0])
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/18.4 Safari/605.1.15

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 17

you should not do it here, leave this line unchanged

you need to do this:

Add another print() call to print text.lower() and see the output.