title: How to move turtles in Python 3 with arrow keys
body: <p>I am having trouble getting my turtle to be able to follow the arrow keys, any help on how to do so would be greatly appreciated. I'm sure this question has been asked before, though I can't seem to find it, and the ones I do find are for older versions.</p>
  
  <pre><code>import turtle
  #screen
  wn=turtle.Screen()
  wn.bgcolor("lightblue")
  
  I plan on this being a spaceship game
  #Turtle Player
  spaceship= turtle.Turtle()
  spaceship.color("red")
  spaceship.penup()
  speed=1
  </code></pre>
  
  <blockquote>
    <p>This is where I am stuck, I don't know how to make the turtle follow
    the arrow keys</p>
  </blockquote>
  
  <pre><code>#keyboard bindings
  
  while True:
      spaceship.forward(speed)
  </code></pre>