yaml_data = """
example1: |
This is line one.
This is line two.
example2: |-
This is line one.
This is line two.
example3: >-
This is line one.
This is line two.
"""
# 将 YAML 数据解析为 Python 对象
data = yaml.safe_load(yaml_data)