title: Objects and lists, python
body: <p>I'm new to python/pygame. I want to define my own class. This class takes a list within a list and a acceleration function. I want to call these functions in another class so that they can be changed/ manipulated. </p>
  
  <p>This is what i have:</p>
  
  <pre><code>Class baddie():
      def __init__(self):
          self._list=([random.randint(100,210),530])
      def accelaration(self,acc):
          clock=300-(acc)
  </code></pre>
  
  <p>I then want the baddie class to be called in the space class. So the user can manipulate the two above functions.</p>
  
  <pre><code>Class space():
      b = baddie()
      b.accelaration(203)
  </code></pre>
  
  <p>I also want the user to be able to call the list which takes a random integer and another number, but I don't understand how. </p>
  
  <p>Any suggestions.</p>