📅  最后修改于: 2022-03-11 14:45:46.071000             🧑  作者: Mango
代码示例4
squares = {1: 1, 2: 4, 3: 9, 4: 16, 5: 25}
# remove a particular item, returns its value
# Output: 16
print(squares.pop(4))