This was a little harder on me than the hard binary Reversing challenge I did earlier. Don't RE much python. Renaming some of the variables and function names, once I figured out what they did helped me. Use PyCharm or WingIDE to help with debugging.
in the function "EAt(eat, eats):". I've insect a string builder that adds 1 for the first if and 2 for else. I end up with a sequence that let me reconstruct the sequence "E10a23t9090t9ae0140". I had to increment one position manually and after a few try, I found the answer.