Can't center text when using colored

后端 未结 0 1763

I am trying to center text in the terminal. I use:

import shutil
from termcolor import colored

columns = shutil.get_terminal_size().columns
print("This is a         


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