Build a Caesar Cipher - Step 3

Tell us what’s happening:

i need to understand why this part of the particular code is not working . even though the code has given its output ,it is still asking me too assign alphabet[shift:]to shifted_alphabet.

Your code so far


# User Editable Region

alphabet = 'abcdefghijklmnopqrstuvwxyz'
shift = 2
shifted_alphabet='cdefghijklmnopqrstuvwxyz'
shifted_alphabet=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/144.0.0.0 Safari/537.36 Edg/144.0.0.0

Challenge Information:

Build a Caesar Cipher - Step 3

you have changed shift and assigned a string directly to shifted_alphabet both those things you should not do

you should only do this with shifted_alphabet