python, how to call function in as parameter in self.response.out.write()
<pre><code>class GuestBook(webapp.RequestHandler):
    def post(self):
        self.response.out.write(
            '&lt;h2&gt;You wrote:&lt;/h2&gt; %s'   %self.request.get('content')     )
</code></pre>

<p>I want to pass this: <code>%self.request.get('content')</code>  into a function. And use function return in the old place.I am python newbie. I tried.but failed. need help!</p>

<p>This is my function; I defined it in the same class as below.</p>

<pre><code>def ept(str)
        str = str + " is good."
        return str
</code></pre>

<p>And I call it in the old place like:</p>

<pre><code>ept(%self.request.get('content'))
</code></pre>

<p>Could anybody help me, what is wrong with my code</p>
