Tell us what’s happening:
Can anyone help with step 13 on the python lesson.
Your code so far
# User Editable Region
text = 'Hello World'
shift = 3
alphabet = ('abcdefghijklmnopqrstuvwxyz').find(text[0])
# 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/124.0.0.0 Safari/537.36
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 13
Hey.
According to the instructions, your code should be written after the alphabet variable.
Ray13
3
Hi there!
At the end of your code, call .find()
on your alphabet
string and pass text[0]
to the method.
I suppose “At the end of your code” is a bit confusing, I would instruct like “On the new line” (after the alphabet variable)
system
Closed
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.