This commit is contained in:
HibiKier
2022-05-28 17:22:51 +08:00
parent 9c987e9aad
commit 724541d691
8 changed files with 39 additions and 21 deletions
+12
View File
@@ -0,0 +1,12 @@
def prompt2cn(text: str, count: int, s: str = "#") -> str:
"""
格式化中文提示
:param text: 文本
:param count: 个数
:param s: #
"""
return s * count + "\n" + s * 6 + " " + text + " " + s * 6 + "\n" + s * count