why i cant break nor exit a while loop : <p>for some reason when I type "exit" or "EXIT" the loop continues to iterate</p>

<p>I tried breaking using variables and the break statement</p>

<pre class="lang-py prettyprint-override"><code>obj = 1
while obj != None:
    a = input("enter a number:\n")
    b = input("enter a number:\n")
    try:
        int(a)
        int(b)
        print("succes!")
    except ValueError:
        print("you didnt enterd numbers")
        continue
    print("what do yo want to do?\n")
    donxt = input("for exit the program type EXIT, to continue tap CONTINUE:\n")
    if donxt == "continue" or "CONTINUE":
        continue
    elif donxt == "EXIT" or "exit":
        obj = None
</code></pre>
