主要点 :for in 、append 、 random
offices = [[],[],[]]
names = ["a","b","c","d","e","f","g","h"]
for name in names: #for in 表示遍历
index = random.randint(0,2)
offices[index].append(name)
i = 1
for office in offices:
print("办公室%d 的人数为:%d"%(i,len(office)))
i += 1
for name in office:
print("%s"%name,end="\t")
print("\n")
print("-"*20)