Build a Caesar Cipher - Step 4

Tell us what’s happening:

I’ve tried everything, but I still don’t understand what it’s asking me.

Your code so far

alphabet = 'abcdefghijklmnopqrstuvwxyz'

# User Editable Region

shift = 5
shifted_alphabet = alphabet[:shift]+ ' ' + alphabet[shift:]

# User Editable Region

print(shifted_alphabet)

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36

Challenge Information:

Build a Caesar Cipher - Step 4

Hi there,

Were you asked to concatenate a space? The values you are concatenating (other than the space) are correct, but you changed the starting code so that now they are flipped. This will cause the tests to fail.

Please reset this step and try again.

Happy coding!

So like this:

removed by moderator

Congratulations on solving the challenge! You should be proud of your achievement…we are! But we are removing your working solution, so it is not available to others who have not yet done the work to get there. Again, congrats!

Oh sorry. I wont do it again. :sweat_smile:

No need to apologize. Glad you got your code working!

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.