mario stairs yo
This commit is contained in:
parent
1e293e5904
commit
c674ce998d
@ -1,11 +1,12 @@
|
|||||||
Print a Mario End of Level Stairs
|
Print a Mario End of Level Stairs
|
||||||
=======================================
|
=================================
|
||||||
|
|
||||||
Remember this from Mario?
|
Remember this from Mario?
|
||||||
<img src = 'http://www.nintendoninja.com/images/stairs.png'></img>
|

|
||||||
|
|
||||||
###Create it!
|
|
||||||
|
|
||||||
|
Create it!
|
||||||
|
```
|
||||||
|
>>> triangle(10)
|
||||||
*
|
*
|
||||||
**
|
**
|
||||||
***
|
***
|
||||||
@ -16,9 +17,4 @@ Remember this from Mario?
|
|||||||
********
|
********
|
||||||
*********
|
*********
|
||||||
**********
|
**********
|
||||||
|
```
|
||||||
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.
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user