title: How do I plot a trace of an object's path in Python?
body: <p>Question #1a. [5 points] Suppose that an ant wandered randomly by taking steps (x,y), one per second, where at each ant step, x and y come from a normal distribution with a mean of 0 and a standard deviation of 1.0mm (assume this for all questions below). Plot a trace of the ant’s path over the course of an hour.</p>
  
  <pre><code>mean = 0
  sd = 1.0
  side = np.random.normal()
  step = np.random.normal()
  
  for side, step in np.random.normal(1,3600): #3600 seconds in one hour
      side += 1
      step += 1
      x.append(side) #one step in x direction
      y.append(step) #one step in y direction
  
  plt.plot(x,y,color = "darkpink")
  </code></pre>