How to break out of a while loop in Python 3.3
<pre><code>m = int(input("First number (0 to stop): "))
n = int(input("Second number: "))

def gcd(a, b):
   while b != 0:
        c = a % b
        a = b
        b = c
        if b == 0:
            break
   return a

print ("The greatest common divisor of", n,"and", m, "is", abs(gcd(m,n)))
</code></pre>

<p>How do I break out of this while loop, when m is equal to 0. </p>
