<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def execute_scenario(scenario):
 """ Execute each command in the given scenario's configured sequence. :param scenario: The scenario to execute. :returns: None """


    for action in scenario.sequence:
        execute_subcommand(scenario.config, action)

    # pruning only if a 'destroy' step was in the sequence allows for normal
    # debugging by manually stepping through a scenario sequence
    if 'destroy' in scenario.sequence:
        scenario.prune()