mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
davhojt
0513da1fdd
|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago |
README.md
Triangle
Instructions
Create a function named triangle
that takes a string and a number as arguments. Your function will return a string representing a triangle.
The string will denote the characters which construct the triangle, and the number denotes its height.
Example
*
character and depth of5
:
*
**
***
****
*****
No new line in last line