def climb_mountain(user_goal, motivation, challenges): plans = preliminary_inquiry(user_goal); for step in plans: if step.difficulty == 'unobtainable': tune_out_negativity(); elif step.is_risky(): seek_advice(); else: attempt_step(step); if user_goal.achieved(): print("congratulations! through perseverance and the right attitude, you revived your quest for what seemed unobtainable."); break