def explore_space(): if user_dreams_of_space_travel: for each_dream in untold_dreams: if each_dream.startswith('preceding knowledge'): brush_aside_fears(); elif each_dream.startswith('procedure for space travel'): learn_and_start_afresh(); else: continue_expanding_horizons()