title: How to use Python turtle to plot a function
body: <p>I am trying to create a python script that will allow me use turtle to plot a function like y = 0.5x + 3. How can this be done?  My current approach is:</p>
  
  <pre><code>import turtle
  ivy = turtle.Turtle()
  
  
  def plotter(x):
      y = (0.5 * x) + 3
      ivy.goto(0, y)
  
  plotter(x=20)
  </code></pre>