title: How to Set Default Argument of Class Method Equal to Class Attribute (Python)
body: <p>I have a class like:</p>
  
  <pre><code>class Cheetah:
      def __init__(self):
          self.speed = 20
      def move(self, speed):
          ....
  </code></pre>
  
  <p>How can I set the default value of <code>speed</code> in the method <code>move</code> to <code>self.speed</code>?</p>
  
  <p>I've tried <code>speed = self.speed</code>, but I get a syntax error.</p>
  
  <p>Thanks,</p>
  
  <p>Jack</p>