title: Distance between two points using the distance formula
body: <p>So I need to calculate the distance between a current point and another point specified in the parameter &amp; Return the distance calculated</p>
  
  <p>My print statement needs to look something like this:</p>
  
  <pre><code>&gt; print p1.distance(p2)   
  5.0
  </code></pre>
  
  <p>My current code:</p>
  
  <pre><code>import math
  
  class Geometry (object):
      next_id = 0
      def __init__(self):
          self.id = Geometry.next_id
          Geometry.next_id += 1
  
  geo1 = Geometry()
  print geo1.id
  geo2 = Geometry()
  print geo2.id
  
  class Point(Geometry):
      next_id = 0
  
      def __init__(self,x,y,):
          self.x = x
          self.y = y
          self.id = Point.next_id
          Point.next_id += 1  
  
      def __str__(self):
          return "(%0.2f, %0.2f)" % (self.x, self.y)
  
      def identify():
          if(p0.id == p1.id):
              print "True"
          else:
              print "False"
  
      def equality():
          if (self.x == self.y):
              print "True"
          else:
              print "False"  
  
      def distance(p0, p1):
          p1 = pts1
          pts1 = [(7.35,8.20)]
          p0 = pts0
          pts0 = [(5,5)]
          dist = math.sqrt((p0[0] - p1[0])**2 + (p0[1] - p1[1])**2)
          return dist
  
  p0 = Point(5,5)
  print p0.id
  p1 = Point(7.35,8.20)
  print p1.id
  print p1
  print p0 == p1
  print p0.id == p1.id
  </code></pre>
  
  <p>I am not sure how to separate the x &amp; y values in my Point class, for use in the equation. </p>