Feb-07-2017, 06:45 AM
I assume that in places where you use "input", you actually want to "print".
After (random.choice(g) + random.choice(q)) you'd better store the answer in a variable, e.g.
answer = input()
And then check whether answer is in "n" or is it in "y"
After (random.choice(g) + random.choice(q)) you'd better store the answer in a variable, e.g.
answer = input()
And then check whether answer is in "n" or is it in "y"