Change file structure

This commit is contained in:
2023-04-04 19:58:02 +08:00
parent dcd275e3b1
commit 71e967808b
14 changed files with 432 additions and 413 deletions

View File

@@ -0,0 +1,11 @@
"""该模块提供几个自定义处理输入函数"""
def rinput(string: str = ''):
"""当调用该函数时同input()一样但是返回一个去除首位空格并全部小写的str"""
return input(string).strip().lower()
def cinput(string: str = ''):
"""当调用该函数时同input()一样但是返回一个去除首尾空格的str"""
return input(string).strip()