title: Why does print('\n') * 100 not work in Python 3.3?
body: <p>I am attempting to clear lines of code in Python and came across a post at <a href="https://stackoverflow.com/questions/1432480/any-way-to-clear-python-shell">Any way to clear python&#39;s IDLE window?</a> on how to do so however when I run the function below in IDLE 3.3 I get the error below. It does however work in version 2.7.3.</p>
  
  <p><strong>ERROR</strong></p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;pyshell#7&gt;", line 1, in &lt;module&gt;
      cls()
    File "&lt;pyshell#6&gt;", line 2, in cls
      print('\n') * 100
  TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
  </code></pre>
  
  <p><strong>CODE</strong></p>
  
  <pre><code>def cls():
      print('\n') * 100
  </code></pre>