TA Instructions: Viewing the Answer Key for the Wine EDA Exercise The student-facing answer key has been scrambled using a reversible encoding (ROT13). Here's how you, as a TA, can decode and read it. :mag_right: Step-by-Step
- Locate the scrambled file Navigate to the following path in your project directory: breakout/wine_eda_answer_key.md
- Open a Python shell or script Use any of the following: A Jupyter notebook cell The Python REPL (python3 in your terminal) A .py script file
- Decode using codecs and rot_13 Run this code to read and decode the answer key: import codecs
with open("breakout/wine_eda_answer_key.md", "r") as f: scrambled_text = f.read()
decoded_text = codecs.decode(scrambled_text, 'rot_13')
print(decoded_text)
with open("breakout/wine_eda_answer_key_decoded.md", "w") as out: out.write(decoded_text) :brain: What is ROT13? ROT13 is a Caesar cipher that shifts letters by 13 places. It’s symmetric, so decoding is simply re-applying the same transformation. Let me know if you want this instruction set packaged as a .pdf, .md, or included in your course materials.