我有一個使用來自類的數據的字典。我的字典在打印時輸出以下內容:調用字典對象
{ 736: <inventory.Inventory object at 0x7fd21fcf7c18>,
529: <inventory.Inventory object at 0x7fd21fcf7828>,
194: <inventory.Inventory object at 0x7fd21fcf7ac8>,
132: <inventory.Inventory object at 0x7fd21fcf7780>,
533: <inventory.Inventory object at 0x7fd21fcf7940>,
827: <inventory.Inventory object at 0x7fd21fcf79e8>,
285: <inventory.Inventory object at 0x7fd21fcf7ba8> }
如何在調用其他函數中的字典時調用此對象的單個值?
什麼是Inventory對象,它是什麼意思來稱呼它? –