level = 1
num = 70
if level==1:
a = ' '*(level-1)*4+'#'+'-'*(num-1)
else:
a = ' '*(level-1)*4+'#'+'-'*(num-1)
content = "Specify the input and output "
b = ' '*(level-1)*4+'#'+' '*20+content+' '*(num-1-20-len(content)-1)+'|'
print a
print b
print a
generate prompt
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
.py to .exe (by py2exe)
Dr_Hm
2020-06-27 21:37:12
Python中的easy_install
Dr_Hm
2020-06-27 20:35:38
pyTree(tree structure in python )
Dr_Hm
2020-06-27 20:35:38
成爲女神同桌,我只用一行代碼
梦想橡皮擦
2020-06-16 02:18:55
decison tree
Dr_Hm
2020-06-01 22:01:50
naive bayesian classifier
Dr_Hm
2020-06-01 22:01:50
關於CRC的應用和總結
zhao_anan
2020-04-18 17:46:26
basic apriori method
Dr_Hm
2020-02-25 21:31:52
Python - 列表、字典和元組的排序
Dr_Hm
2020-02-25 21:31:41
python 字典的get方法
Dr_Hm
2020-02-25 21:31:41
flask使用Blueprint進行多模塊應用的編寫
叶长风
2020-02-22 08:58:20