Tell us what’s happening:
I am really not sure what I am missing here, I have tried a many methods but I keep coming up with a Type Error: invalid syntax. Any and all help/clarification would be greatly appreciated because my brain hurts at this point
Your code so far
# User Editable Region
alphabet = 'abcdefghijklmnopqrstuvwxyz'
text = "alphabet"
position = alphabet.find(text[0])
new_position = (position + 3) % len(alphabet)
new_character = alphabet[new_position]
print(text[0])
print(position)
print(new_character)
# 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/127.0.0.0 Safari/537.36 Edg/127.0.0.0
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 14