mirror of https://github.com/01-edu/public.git
Update README.md
This commit is contained in:
parent
3c37510aa9
commit
18c91ffd67
|
@ -3,11 +3,11 @@
|
||||||
### Instructions
|
### Instructions
|
||||||
|
|
||||||
Create a `diamon` function that takes a string and a number as parameters
|
Create a `diamon` function that takes a string and a number as parameters
|
||||||
and return a diamon shape constructed by 2 arguments:
|
and returns a diamond shape constructed by 2 arguments:
|
||||||
- the characters (as a string) to be repeated
|
- the characters (as a string) to be repeated
|
||||||
- the size of a side (as a number)
|
- the size of a side (as a number)
|
||||||
|
|
||||||
Just like pyramid + a reversed pyramid
|
It is just like pyramid + a reversed pyramid
|
||||||
|
|
||||||
### Output example
|
### Output example
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue