Build a Caesar Cipher - Step 6

Tell us what’s happening:

I think my code should be correct, but it is not. Please tell me why it is not working.

Your code so far

alphabet = 'abcdefghijklmnopqrstuvwxyz'
shift = 5
shifted_alphabet = alphabet[shift:] + alphabet[:shift]
translation_table = alphabet+ shifted_alphabet

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36

Challenge Information:

Build a Caesar Cipher - Step 6

1 Like

@your-coder-at-home

you are missing an important function call at your variable

translation_table =

If you read the instructions again on step 6 it provides the function that needs to be called to make the translation.

1 Like

@Drewlius Thank you so much that helped a lot. :grin:

anytime this forum has plenty of people always willing to help out if you ever have any other problems just make a post and somebody will get it answered relatively quickly. Happy Coding!