mario stairs yo
This commit is contained in:
parent
1e293e5904
commit
c674ce998d
@ -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?
|
||||

|
||||
|
||||
Create it!
|
||||
```
|
||||
>>> triangle(10)
|
||||
*
|
||||
**
|
||||
***
|
||||
****
|
||||
*****
|
||||
******
|
||||
*******
|
||||
********
|
||||
*********
|
||||
**********
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user