|
import random
first = ['生', '命', '无', '力', '能', '技', '闪', '格', '回', '数', '附', '毒']
second = ['减', '击', '速', '比', '挡', '血', '弹', '耗', '快', '功', '全', '提']
third = []
def random_func():
a = random.choice(first)
b = random.choice(second)
c = '' + a + b
if c in third:
return random_func()
else:
third.append(c)
return c
for i in range(0, 36):
print(random_func())
|
|