Build a Caesar Cipher - Step 4

Tell us what’s happening:

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

it still wrong, can help me?

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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0

Challenge Information:

Build a Caesar Cipher - Step 4

Where did you get stuck trying to debug?

does this line look correct? that’s what the tests are seeing, because you should not create new lines in this step

check very well you are repeating the same thing in the shifted_alphabet, read the instruction again and the example given.