Took way too long, let me tell you. I expected this to be approximately 1 hours worth of work. But because replit refuses to let me
pip install getkey or
poetry add getkey ( I also had troubles with that dumb BETA LSP thing that keeps messing around and I always think I have an error somewhere ) this took WAY TOO LONG. Instead, I searched some older repls that had getkey already installed, and made this.
enjoy the worst google translator of all time… I have got nothing else to say, no comments. Good luck.