# 打印正文
for j in range (0, len(t_p)):
for i in range (jushu - 1 + 1, 0, -1):
if zhenwen[i - 1][j] == " ":
print (" ", end = "") #一个空格不够宽度,再打一个凑足
print (zhenwen[i - 1][j] + "┊", end = "")
print (t_p[j])
print("\n")
Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>>
================= RESTART: D:\Python36\code\crossin\文字竖排.py ================= 低┊举┊疑┊床┊静
头┊头┊似┊前┊夜
思┊望┊地┊明┊思
故┊明┊上┊月┊
乡┊月┊霜┊光┊李
。┊,┊。┊,┊白