【发布时间】:2015-12-06 19:24:31
【问题描述】:
文件:banner.py
日期:2015 年 12 月 6 日
目的:编写一个打印横向横幅的程序。
字符 A-Z 和 .,!?& 在一个文件中,由任何内容组成,共七行
必要的宽度。每个文本由下一个字母之间的空格分隔 例如。)###
## ##
## ##
## ##
#########
## ##
## ##
# 所以字母 A 必须被水平翻转和产生。
# 所以如果“yum”作为短语输入,它会横向打印“yum”
def main():
print("Program to print a sideways banner.")
print("The letters and specials are in a file")
print("You will be asked to enter the name of a file.")
print("Written by John Doe")
fileName = input(Enter the name of a file: ")
print()
phrase = ("Enter phrase to print: ")
【问题讨论】:
-
主题标签应采用字母 A 的形式。
-
你没有做任何工作。您可能刚刚发布了一个“Hello World”程序并要求我们为您实施 Google 的搜索引擎。
-
不请人做,需要帮助才能开始。我不是很好,很明显
标签: loops python-3.x nested-lists horizontallist