前言
嗨喽~大家好呀,这里是魔王呐 ❤ ~!
python更多源码/资料/解答/教程等 点击此处跳转文末名片免费获取
方法一:for in循环
from random import randint, sample
a1 = {
k: randint(1, 4) for k in 'abcdefg'}
a2 = {
k: randint(1, 4) for k in 'abc123456789'}
a3 = {
k: randint(1, 4) for k in 'abcinubububu'}
a4 = {
k: randint(1,