擅长:python、mysql、java
<p>你在评论中没有缩进。在</p>
<p>注意:注释是<code>"""</code>而不是{<cd2>}</p>
<pre><code>import HTML
def CreateEvent(str):
"""This prints a passed string into this function"""
#^ Indentation space needed here - Also docstrings are represented with """ and not "
print str
#Good practice to have 4 spaces as indentation.
return
# ^ No need of ;
</code></pre>
<p>一个好主意是安装<code>pep8</code>python库并执行</p>
^{pr2}$
<p>如果有问题的话</p>