title: how to pass over a function if not called upon
body: <p>how can i pass over a function if it is not called upon. For example, user doesn't want soap so i want to skip over the soap function and go to the drying function and then end the program. I want the output to be 6.</p>
  
  <pre><code>class WashHandler(object):
  
      def main_wash(self):
          self.cost = (self.cost + 5)
          user_input = input("yes or no, Do you want soap added?")
          if user_input == no:
              drying_addition()
  
      def soap_addition(self):
          self.cost = (self.cost + 2)
  
      def drying_addition(self):
          self.cost = (self.cost + 1)
  
      def finish(self):
          print("Your total is " self.cost)
  
  
  handler = WashHandler()
  handler.main_wash()
  handler.soap_addition()
  handler.drying_addition()
  handler.finish()
  </code></pre>