Build a Caesar Cipher - Step 4

Tell us what’s happening:

Where’s the problem here ? I’ve looked around for other answers but couldn’t find the problem.

Your code so far

alphabet = 'abcdefghijklmnopqrstuvwxyz'
shift = 5
# User Editable Region
shifted_alphabet = alphabet[:shift] + alphabet[shift:] 
# User Editable Region
print(shifted_alphabet)

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36

Challenge Information:

Build a Caesar Cipher - Step 4

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-caesar-cipher/680a549f60f5a3fedfc0edd9.md at main · freeCodeCamp/freeCodeCamp · GitHub

FOUND IT :smiley:

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