mario stairs yo

This commit is contained in:
Armen Vartan 2014-12-02 14:59:15 -05:00
parent 1e293e5904
commit c674ce998d

View File

@ -1,24 +1,20 @@
Print a Mario End of Level Stairs
=======================================
=================================
Remember this from Mario?
<img src = 'http://www.nintendoninja.com/images/stairs.png'></img>
###Create it!
*
**
***
****
*****
******
*******
********
*********
**********
This triangle is 10 high, but I want the ability to make it as high as I want by setting one variable. You must print this in the console.
###Stretch
Make it awesome! Download some images and use jQuery to print them and get an actual set of mario stairs on the page. Feel free to remove the printout div or whatever you might have to do to make the images fit.
Remember this from Mario?
![Mario stairs](http://www.nintendoninja.com/images/stairs.png)
Create it!
```
>>> triangle(10)
*
**
***
****
*****
******
*******
********
*********
**********
```