how to create a while true loop? : <p>let me start off by saying, that i am a BEGINNER to coding. i use python 3.4.GUI.</p>

<p>so i've got this code:</p>

<pre><code>register = input("have you registered an 
account?")
if register == "yes":
    print("you may proceed to log in")
if register == "no":
    print("please, create an account")
else:
    print("that is not a valid answer")
</code></pre>

<p>how to i create a while true loop on this so that if the user enters anything other than "yes" or "no", they get taken back to the start?
thanks!</p>
