prog9_25.py

inventory = {"りんご": 3, "もも": 5, "ぶどう": 3}
print(list(inventory.values()))

# プログラム9-25(メソッドvalues)