title: passing a tuple into a function in another file
body: <p>I'm trying to pass a tuple containing a set of strings and numbers ('People', 14, 'Animals', 82) into a definition from another file but when I try to pass it to the definition, it returns an error.</p>
  <p>The function I'm trying to pass the tuple to in another file is:</p>
  <pre><code>class Check():
  def tuple_valid(self,t):
  </code></pre>
  <p>then this function it runs a suite of statements returning either True or False based on if the tuple is valid or not. and in my other file I'm running:</p>
  <pre><code>t = ('People', 14, 'Animals', 82)
  TF_check = t.tuple_valid()
  </code></pre>
  <p>where TF_check is either True or False based on what the tuple_valid function returns. But when I try to run the main file, I get error: <code>&quot;AttributeError: 'tuple' object has no attribute 'tuple_valid'&quot;</code></p>
  <p>so my question is: how do i call the function in the other file so that TF_check becomes either True or False without getting an error</p>