title: Should a dict that I use only once during initialization be put inside my class?
body: <p>I only need to use operatorDict one time to determine which operation I am using for the class. What is the most pythonic way to store the correct operator inside of self._f ?</p>
  
  <pre><code>class m:
      def __init__(self,n,operator,digit1,digit2):
          self._operatorDict = {'+':add, '-':sub, 'x':mul, '/':truediv}
          self._f = self._operatorDict[operator]
          self._score = 0
          self._range = n
          self._aMin, self._aMax = getMaxMinDigits(digit1)
          self._bMin, self._bMax = getMaxMinDigits(digit2)
  </code></pre>