清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
import math x=u'衣食者人之生利也,然且犹尚有节,葬埋者人之死利也,夫何独无节於此乎。' def shupai(text,width): seq = [ c for c in text if c.strip() ] seq_len=len(seq) line=math.ceil(seq_len/width) for i in range(0, line): for j in range(0,width): if j*line+i < seq_len: print(seq[j*line+i],end = " | ") print() shupai(x,10)