dic = {'name': ['zhang', 'li', 'wang'], 'sex': ['male', 'female'],'sentence': ['I am a student.', 'I like playing the piano.', 'I want to go out.']}
str0 = ''
for i in dic:
for j in dic[i]:
str0 += j + '\t'
str0 = str0.strip('\t')
dic[i] = str0
str0 = ''
print(dic)
这里虽然打印出来带有\t,但是实际上他就是制表符,我分别打印出值你看看: