PROGRAMMING:Display diamond
Please write a function to input the number of rows and characters of the diamond and output the corresponding diamond image.
####Input sample
```in
5 $
```
####Output sample
```out
$
$$$
$$$$$
$$$
$
```
Requirement: if the number of rows is less than or equal to 0, output none; If the number of rows is even, error is output.
answer:If there is no answer, please comment
####Input sample
```in
5 $
```
####Output sample
```out
$
$$$
$$$$$
$$$
$
```
Requirement: if the number of rows is less than or equal to 0, output none; If the number of rows is even, error is output.
answer:If there is no answer, please comment