Build a Caesar Cipher - Step 4

Tell us what’s happening:

this is my code idk whats wrong here :
alphabet = ‘abcdefghijklmnopqrstuvwxyz’
shift = 5
shifted_alphabet =alphabet[:shift] +alphabet[shift:]
print(shifted_alphabet)

Your code so far


# User Editable Region

alphabet = 'abcdefghijklmnopqrstuvwxyz'
shift = 5
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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36

Challenge Information:

Build a Caesar Cipher - Step 4

the first five letters of the alphabet – a, b, c, d and e – are missing from the shifted alphabet, so you’ll need to add them at the end of the shifted alphabet.

extract the missing first portion of alphabet and concatenate it to alphabet[shift:]

What does the output in your console look like?

If you are to take the “first portion”, or beginning, of the alphabet and add it on to the end, it should look like this fghijklmnopqrstuvwxyzabcde