https://blog.csdn.net/flyfrommath/article/details/52994041
a = list(range(1,39))b = random.sample(a,7)number1 = b[0]number2 = b[1]...
import random
for x in range(7):print( random.randint(1,10) )