title: Syntax error in python code while trying in IDLE
body: <p>This code works good in the editor but why I'm getting error while trying in IDLE 
  Program:</p>
  
  <pre><code>&gt;&gt;&gt;i=1
  while i&lt;=5:
      print(i)
      i+=1
  print("end")
  </code></pre>
  
  <p>Output:
  SyntaxError: invalid syntax</p>
  
  <p>Expected Output:
  1
  2
  3
  4
  5
  end</p>