def brew_journey(inputs): if 'withdraw from' in inputs: print('reconsider your approach.'); elif 'pre-explanatory' in inputs: print('gathering all you need can make the process smoother.'); else: for step in ['preparing', 'brewing', 'tasting']: if step == 'preparing': print('let’s recommence from the outset with a hushed excitement for brewing.'); break;