First download in the same directory code.py and codebook.txt

Then run the following command and you’ve got the flag.

python3 code.py