普通方案1:
from random import randint,sample
sample('abcdefg',randint(3,6))
# 字典解析
s1 = {x: randint(1,4) for x in sample('abcdefg',randint(3,6))}
s2 = {x: randint(1,4)
普通方案1:
from random import randint,sample
sample('abcdefg',randint(3,6))
# 字典解析
s1 = {x: randint(1,4) for x in sample('abcdefg',randint(3,6))}
s2 = {x: randint(1,4)