title: Python: Quadriatic Graph Multiple Numbers Error
body: <p>I have created a code to print the equation <code>y=x^2+3</code></p>
  
  <p>However it looks like every time I finish it the y axis has multiple numbers, like top to bottom-19,19,19,19,19,17,17,9,7,7,7 etc</p>
  
  <p>What I need is 19,18,17,16,15....0</p>
  
  <p>Also I cant seem to code the xaxis which is 0 to 4</p>
  
  <pre><code>##A program to plot the graph of y = x^2 + 3 using formatted output
  ##
  ##Graph from x = 0 to x = 4
  ##We must draw the graph 'backwards' (top down)
  ##
  ##label the y-axis
  ##
  print('{0:&gt;{width}}'.format('y', width=2))
  
  ##start with x = 4
  ##calculate y = x^2 + 3
  x = 4
  y = x**2+3
  oldY = y
  
  ##in a counted loop
  for x in range(4,-1,-1):
  ##    draw axis value, vert line, space over and place a dot for current x/y value
      print('{0:&gt;3}{1:&gt;{width}}'.format(str(y)+'|','*', width=x*2))
  
      ##    calculate y = x^2 + 3
      y = x**2+3
      ##    calcuate difference in y from previous y value
      difference = oldY - y
      ##    draw that many axis values and vert lines
      for lines in range(0,difference+1):
          print('{0:&gt;3}'.format(str(y)+'|'))
  </code></pre>
  
  <p>I'd like to have only formatted ouputs and loops.</p>