title: Python Storing predefined lists in a module and editing them in an easy way
body: <p>I'm not sure if this is best done with a class or if there's a neater way to do this.</p>
  <p>I am writing a module, and in it I would like certain lists to be pre-defined and easily accessible, but also changeable. There will be a lot of these lists, maybe 20-30.</p>
  <p>So example of these lists:</p>
  <pre><code>fruits = ['apple','pear','peach']
  nuts = ['peanuts','cashew','almonds']
  </code></pre>
  <p>I also want to have two functions that allow people to add or remove items from this list:</p>
  <pre><code>my_mod.add(nuts, ['macademia','brazil'])
  my_mod.remove(fruits, ['apple'])
  </code></pre>
  <p>So I was thinking of writing a class:</p>
  <pre><code>class Food:
      def __init__ (self):
          self.fruits = ['apple','pear','peach']
          self.nuts = ['peanuts','cashew','almonds']
  
      def add(self, add_items):
          self.&lt;????&gt; += add_items
  </code></pre>
  <p>But as you can see where I have the question marks, if I do it this way, I don't know how to add it to the list name supplied by the user.</p>
  <p>Am I going about this there right way or is there a better way to achieve what I'd like?</p>
  <p>The other idea I had was to use a <code>dict</code> and define it in the <code>__init__</code> file of the <strong>Module</strong></p>
  <p>But I'm less keen on this idea, as I think it could be confusing.</p>