Replace line 16 with:
if generates == "far" or generates == "sort of far" or generates == "close": generate = input("press g to generate")
And replace line 37 with:
if generates == "super far" or generates == "sort of super far" or generates == "far": generate = input("press g to generate")
If this was helpful, please mark this as the answer.
Also, please check out this (https://repl.it/talk/share/2048-In-Python/31140). I spent a ton of time making it.
The package installation is failing because the package you are trying to install isn't supported by repl.it.
If this was helpful, please mark is as the answer.