Changing the order of operations inside a while() loop
<p>I'm new to python and am taking a class so far my program looks like:</p>

<pre><code>if choice=="1":
    def addition():
        print("You are doing addition. X+Y=Z")
        X = int(input("Enter X:"))
        Y = int(input("Enter Y:"))
        sum = X + Y
        print ("your total is:")
        print (sum)


    Well = "y"
    while Well == "y":
        again = input("Would you like to go again? (y/n)")
        if again == "y":
            addition()
        if again == "n":
            project()
        else:
            print("sorry re-enter choice")
</code></pre>

<p>it asks if I wan to go again before showing the actual addition part. how do I fix this? Thanks for your help :) </p>
