课堂《幸 运》抽奖系统1.0,让师生关系变得氪癌氪氢

ykj30 苍狼 2024-07-15 21:06:32 21
import random
print('《幸 运》抽奖系统,请输入总人数',end=":")
n = int(input())
print('《幸 运》抽奖系统,请输入要抽的人数',end=":")
m=int(input())
a=[]
for i in range(n):
    a.append(i+1)
print('---------------------------------')
print('本次《幸 运》儿:')
for i in range(m):
    x=random.randint(0, (len(a) - 1))
    print(a[x])
    del a[x]
print('本次天选之子:')
for i in range(len(a)):
    print(a[i])
{{ vote && vote.total.up }}