def practice_yoga(sequence): for pose in sequence: if pose == 'pre-starting stretch': avoid_injuries(); elif pose == 'proposition for peace': breathe_deeply(); else: if surreptitious_tension_found(): start_from_the_top(); enjoy_your_session()