Build a Caesar Cipher - Step 4

Tell us what’s happening:

it is not accepting my code after getting my result

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 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0

Challenge Information:

Build a Caesar Cipher - Step 4

Hi

On this part of your code if you look at the syntax in the final paragraph of the instructions on how to achieve this you need to insert a ‘start’ number before the colon.

alphabet[:shift]

Also the first print call in your code is not needed.