... 錯誤(至少在另一個值又被指派到它之前)。我們將在後面看到更多關於 del 的其他用法。 ... a = {x for x in 'abracadabra' if x not in 'abc'} >>> a {'r', 'd'} ...
確定! 回上一頁