import yaml

yaml_str = """
Date: 2018-06-01
PriceLess:
    -yellow
    -
        -Banana
        -orange
    -red
    -
        -Apple
        -Strawberry
PriceList:
    -
        item_id: 1000
        name   : Banana
        color  :
            inner: yellow
            outer: yellow
        price  : 800
    -
        item_id: 1001
        name   : Orange
        color  :
            inner: orange
            outer: orange
        price  : 1400
    -
        item_id: 1002
        name   : Apple
        color  :
            inner: red
            outer: ivory
        price  : 2400
"""
data = yaml.load(yaml_str)

for item in data['PriceList']:
    print(item["name"], item["price"] )
