title: Print Number 1-10 in python - Error: no viable alternative at input '='
body: <p>Here's my code: </p>
  
  <pre><code>for i in range(10):
      print(i, end=' ')  #This line is throwing an error
  </code></pre>
  
  <p><code>SyntaxError: no viable alternative at input '='</code></p>
  
  <p>I am using Netbeans and Jython 2.7.0</p>