How do I make this only print the last value?
<p>I have the fallowing code to encrypt a massage:</p>

<pre><code>massage= raw_input("Enter message to be encrypted: ")

spec = chr(0b1010101)

key = ord(spec)

encrypt = ""

for i in range(0, len(massage)):

        encrypt = encrypt + chr(ord(massage[i]) ^ key)

        print encrypt
</code></pre>

<p>say I give "yo yo" to it</p>

<p>it will give me :</p>

<p>,</p>

<p>,:</p>

<p>,:u</p>

<p>,:u,</p>

<p>,:u,:</p>

<p>I only need the final answer which is the ,:u,:</p>

<p>what do i have to do?</p>
