Using a constantly changing variable to define a list
<p>I want to make a piece of code which pulls the title and link off an RSS feed and compiles it into a variable which can be then used in the message body. My problem is Body gets redefined every time i pull the info off the RSS. I am very new to programming and python, and I am under the impression that using a list would be the best thing to do.</p>

<pre><code>for i in range(3):

    MessageTitle = feed['items'][i].title
    MessageLink = " - ",feed['items'][i]['link']

    Body = "%s%s%s%s" % (MessageTitle,"\n","\n", MessageLink) #in unicode

    gmail_user = "user@gmail.com"
    gmail_pwd = "pw"

    mail("user@gmail.com",
         "Reddit Update",
         Body)
</code></pre>

<p>I was going to insert the list below body, and use body to define it.. something like:</p>

<pre><code>list[i] = [Body]
</code></pre>

<p>Am i on the right track?</p>
