Learn String Manipulation by Building a Cipher - Step 26

Tell us what’s happening:

jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj

Your code so far


# User Editable Region

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
for char in index:
    index = alphabet.find(char)
    print(char)

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

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 26

Welcome to the forum @ukstive0

What is you loop iterating through?

For next time, describe the issue in your own words. Learning to communicate problems is a part of becoming a web developer.

Happy coding