Problem with function in python
<p>I am a newbie in python. I am trying to code a very basic function but getting errors. I dont know the reason behind it. Example code:</p>

<pre><code>def printme( str ):
    print str;
    return;

printme("My string");
</code></pre>

<p><strong>This should execute logically but it gives me the following error:</strong></p>

<p>Traceback (most recent call last):
  File "stdin", line 1, in "module"<br>
NameError: name 'printme' is not defined</p>

<p>Any suggestions are welcome...</p>
