BC8 牛牛的字符矩形
思路:
step1:输入字符,每行按格式输出即可;
代码如下:
n = input()
print(' '+n+' ')
print(' '+n+n+n+' ')
print(n+n+n+n+n)
print(' '+n+n+n+' ')
print(' '+n+' ')
n = input()
print(' '+n+' ')
print(' '+n+n+n+' ')
print(n+n+n+n+n)
print(' '+n+n+n+' ')
print(' '+n+' ')