I am having difficulty centering printed strings in my terminal

后端 未结 0 1560
暖寄归人
暖寄归人 2021-01-26 01:05
def CenterText(PrintVar):
    TerminalSize = shutil.get_terminal_size()
    Columns = TerminalSize[0]
    Rows = TerminalSize[1]
    StringLen = len(PrintVar)
    Center         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题