title: Python SyntaxError when using end argument with print function
body: <p>I don't know why i get the error because i have done exactly as the book says</p>
  
  <pre><code>&gt;&gt;&gt; os.getcwd()
  'C:\\Users\\expoperialed\\Desktop\\Pyt…'
  &gt;&gt;&gt; data = open('sketch.txt')
  &gt;&gt;&gt; print(data.readline(),end="")
  SyntaxError: invalid syntax
  </code></pre>