lucky_number = random.choice(random_value) random_value.remove(lucky_number)
从random_value列表中随机选择出 lucky_number 之后用 random_value.remove(lucky_number) 从列表中删除即可。
同时要注意对random_value列表变成空的情况处理如有帮助,望采纳!谢谢!