It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.
firstly, you missed a concept. You can transfer the value of a variable by renaming it; for example, age=13 then if want to rename the variable you can just say years_on_earth=age which will transfer the value of age to the years_on_earth variable. Same in this situation, you want to rename text to message and shift to offset. But you are required to rename it inside the function that’s all. so you shouldn’t change the variables outside but just transfer the values inside the function.
Secondly, you should NOT change encrypted_text to ecrypted_message same with the ‘plain text’ string the only thing you should change is the shift and the text variables after transferring values.
Also it is very important to understand what every line in your code does.
Agreed. [pkdvalis] Got it! Please rest assured, I won’t post the entire code. I will post hints and suggestions. I am a very ‘explicitly talkative’ person, therefore I tend to answer in full. I am also a very investigative person, I enjoy asking lot of questions just out of curiosity. I find it easier if it’s WYSIWYG but, yeah, you are right, I shouldn’t post spoilers because , I find puzzles and mystery mind-engaging, that way the solution is etched in memory.