title: Drawing a turtle by using given pair list
body: <p>all
  l m fresh user of python and l have still been in learning process.l would like to ask a question.there is an example question and l did but l would like to learn other methods to do it.l tried many things but they didn't work out.
  here is question " a man makes a turn, and then takes some steps forward, and repeats this.Here is list=[(160,10), (-49, 6), (270, 12), (-45,22)].Use a turtle to draw the path taken by the man."
  firstly , let me show my code and l run it and work well.</p>
  
  <pre><code>import turtle
  
  wn=turtle.Screen()
  
  wn.bgcolor("lightgreen")
  
  wn.title("theman")
  
  man=turtle.Turtle()
  
  klm=[(160,10), (-49, 6), (270, 12), (-45,22)]
  
  def walking_drunk_man():
  
      for i in range(4):
          (x,y)=klm[i]
  
          man.color("yellow","red")
          man.forward(y)
          man.left(x)
  </code></pre>
  
  <p>in that code ,Assume: by using given list , how can l draw a turtle if l don't know length of list.(l used range(4) as l knew the length of list).</p>
  
  <p>thanks for any clearification in advance.</p>