Learn String Manipulation by Building a Cipher - Step 17

Tell us what’s happening:

im confused i did as requested
i did print(text.lower) i also did print = (text.lower)
im honestly confused the hint not helping either

Your code so far


# User Editable Region

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

# 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/130.0.0.0 Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 17

This is not the correct syntax for the print() function.

Look at the previous line and use the same syntax.

code removed by moderator

“use this code bro”
“use this code bro”

hi @deepesh116

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').