#686. python-星星的组合形状-输入星星形状层数n(下图n=5),用星星(*)或其他单个符号m(下图m="*")

python-星星的组合形状-输入星星形状层数n(下图n=5),用星星(*)或其他单个符号m(下图m="*")

Background

Description

输入星星形状层数n(下图n=5),用星星()或其他单个符号m(下图m="")打印如下图形(其中星星的数量是1,3,5... ...) image

Format

Input

Output

Samples

5
*
* *******
*** *****
***** ***
******* *
********* 
******* *
***** ***
*** *****
* *******
10
$
$ $$$$$$$$$$$$$$$$$
$$$ $$$$$$$$$$$$$$$
$$$$$ $$$$$$$$$$$$$
$$$$$$$ $$$$$$$$$$$
$$$$$$$$$ $$$$$$$$$
$$$$$$$$$$$ $$$$$$$
$$$$$$$$$$$$$ $$$$$
$$$$$$$$$$$$$$$ $$$
$$$$$$$$$$$$$$$$$ $
$$$$$$$$$$$$$$$$$$$ 
$$$$$$$$$$$$$$$$$ $
$$$$$$$$$$$$$$$ $$$
$$$$$$$$$$$$$ $$$$$
$$$$$$$$$$$ $$$$$$$
$$$$$$$$$ $$$$$$$$$
$$$$$$$ $$$$$$$$$$$
$$$$$ $$$$$$$$$$$$$
$$$ $$$$$$$$$$$$$$$
$ $$$$$$$$$$$$$$$$$
3
&
& &&&
&&& &
&&&&& 
&&& &
& &&&

Limitation

1s, 1024KiB for each test case.