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.
Really good challange!
It deserves Medium because for me without big python knowledge (sry i sit in java and c#) it wasnt hard and wasnt easy.
I made 100% re and 0% brainless bruteforce.
I just weren't sure about first digit, so i "bruteforced it in my brain" with knowing its <5 and >0 so i think we can keep it in reversing category because i knew what i were doing.