请注意,列表可以包含多个同样的项。你的代码看起来可能像这样: def addToInventory(inventory, ... 你已经知道如何用 +操作符连接两个字符串,但Python能做 ...
確定! 回上一頁