Tell us what’s happening:
Use the slicing syntax to extract the missing first portion of alphabet and concatenate it to alphabet[shift:].
As a reminder, sentence[start:stop] returns the characters of sentence from position start (included) to stop (excluded).
Your code so far
# User Editable Region
alphabet = 'abcdefghijklmnopqrstuvwxyz'
shift = 5
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/142.0.0.0 Safari/537.36
Challenge Information:
Build a Caesar Cipher - Step 4