<aside> 〰️ rstrip()。
</aside>
<aside> 〰️ lstrip()和strip()
</aside>
<aside> 〰️ 在Python 2中,无需将要打印的内容放在括号内。从技术上说,Python 3中的print是一个函数,因此括号必不可少。有些Python 2 print语句也包含括号,但其行为与Python 3中稍有不同。简单地说,在Python 2代码中,有些print语句包含括号,有些不包含。
</aside>
<aside> 〰️ Python直接返回运算结果。Python使用两个乘号表示乘方运算:
</aside>
<aside> 〰️ Python根据缩进来判断代码行与前一个代码行的关系。
</aside>