摘要: python 年会抽奖小程序 import random name = ["a","b","c","d","e","f","g"] #定义抽奖列表 for i in range(3): a = random.choice(name) #随机抽取内容 name.remove(a) print(f"恭喜 阅读全文
posted @ 2021-11-12 11:09 xyongsec 阅读(572) 评论(0) 推荐(0) 编辑