What is wrong with my guess game?
<p>I tried to make a simple "guess game", but all it does is asks for an input and that's it.</p>

<p>Here is my code:</p>

<pre><code>import random

def guess():
    if a == b:
        print "Correct!"
        n = input("Press 0 to quit or 1 to try again.")
        if n == 0:
            print ""
        if n == 1:
            return guess
    else:
        print "Wrong! "
        n = input("Press 0 to quit or 1 to try again.")
        if n == 0:
            print ""
        if n == 1:
            return guess

a = random.randint(1,2000)
b = input("Guess a number between 1 and 2000 ")
</code></pre>
