A key/value pair can be removed from a dict with del(dct[ix ) ]. Allowed key types. A dict only allows immutable objects as keys. Therefore, tuples are allowed ...
確定! 回上一頁