题解 | #牛牛的字符菱形#
牛牛的字符菱形
https://www.nowcoder.com/practice/11a5040fa894430f9d25fda1be37ddc8
input_str=input() print(" "*2+input_str+" "*2) print(" "+input_str*3+" ") print(input_str*5) print(" "+input_str*3+" ") print(" "*2+input_str+" "*2)
牛牛的字符菱形
https://www.nowcoder.com/practice/11a5040fa894430f9d25fda1be37ddc8
input_str=input() print(" "*2+input_str+" "*2) print(" "+input_str*3+" ") print(input_str*5) print(" "+input_str*3+" ") print(" "*2+input_str+" "*2)
相关推荐