Build a Caesar Cipher - Step 4

Tell us what’s happening:

This is Step 4 from the test and i am not sure how to correct it, please advise.

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

Your code so far


# User Editable Region

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



# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36

Challenge Information:

Build a Caesar Cipher - Step 4

Welcome to the forum @abo33 !

In this step, you already have a shifted_alphabet variable, so you are asked to concatenate the missing part of the alphabet to what has already been assigned to it.