Build a Caesar Cipher - Step 4

Tell us what’s happening:

I don’t understand where is my mistake here. I have the right result and I thought I did what was asked. If someone can help me it would be so nice !

Your code so far


# User Editable Region

alphabet = 'abcdefghijklmnopqrstuvwxyz'
shift = 5
shifted_alphabet = alphabet[shift:]
print(shifted_alphabet)
shifted_alphabet = alphabet[shift:] + alphabet[:shift]
print(shifted_alphabet)

# 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/26.0.1 Safari/605.1.15

Challenge Information:

Build a Caesar Cipher - Step 4

Welcome to the forum @clahallard

You have the right idea.

You need to concatenate to the existing shifted_alphabet variable.

You are not asked to create a new variable and new print call.

Please reset the step to restore the seed code and try again.

Happy coding

1 Like