<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def print_yaml(o):
 """Pretty print an object as YAML."""

    print(yaml.dump(o, default_flow_style=False, indent=4, encoding='utf-8'))