>>> suits = ["h","c", "d", "s"]>>> noclubs = list(suits)>>> noclubs.remove("c")>>> noclubs['h', 'd', 's']如果您不需要单独
noclubs
>>> suits = ["h","c", "d", "s"]>>> suits.remove("c")
>>> suits = ["h","c", "d", "s"]>>> noclubs = list(suits)>>> noclubs.remove("c")>>> noclubs['h', 'd', 's']如果您不需要单独
noclubs
>>> suits = ["h","c", "d", "s"]>>> suits.remove("c")