+ 31

<CHALLENGE> 🦆Draw a Triangle🦆

Make the following pattern: 9 8 7 6 5 4 3 2 1 0 8 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 6 5 4 3 2 1 0 5 4 3 2 1 0 4 3 2 1 0 3 2 1 0 2 1 0 1 0 0 All languages welcome! here is my 1-line solution in case you're having trouble: https://code.sololearn.com/cZJ58atQz478/?ref=app Good Luck and Happy coding!! 🦆

30th Jan 2018, 7:11 AM
🐙evil octopus
🐙evil octopus - avatar
38 Réponses
+ 26
//enough of pattern practice by ruby also 😂 https://code.sololearn.com/cVQF23rE540m/?ref=app
30th Jan 2018, 7:34 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 21
https://code.sololearn.com/c38Qhz36E6lq/?ref=app
30th Jan 2018, 7:58 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 11
https://code.sololearn.com/ce3zlZD7tZLn/?ref=app
30th Jan 2018, 7:50 AM
Saurabh Tiwari
Saurabh Tiwari - avatar
31st Jan 2018, 4:04 AM
David Ashton
David Ashton - avatar
+ 10
My colorful try, using HTML, JavaScript, jQuery and PHP. https://code.sololearn.com/w0Hk9V4EOSMo/?ref=app
30th Jan 2018, 6:19 PM
DAB
DAB - avatar
+ 9
Can I create something more ? :D https://code.sololearn.com/Wc531mTgr1lQ/?ref=app
30th Jan 2018, 2:44 PM
Tran Huu Dang
Tran Huu Dang - avatar
+ 6
https://code.sololearn.com/WhSoh8qo4CQ4/?ref=app
30th Jan 2018, 9:39 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
31st Jan 2018, 7:02 AM
Mahdi Cheikhrouhou
Mahdi Cheikhrouhou - avatar
1st Feb 2018, 9:34 PM
UnknownYmous
+ 5
31st Jan 2018, 1:18 PM
Nashat
Nashat - avatar
+ 5
One loop solution... Kinda inspired. 😁 https://code.sololearn.com/c03BZJvC43qT/?ref=app
2nd Feb 2018, 6:36 AM
Fabio
30th Jan 2018, 11:03 AM
Felix
Felix - avatar
+ 4
https://code.sololearn.com/c4eOzSD14F59/?ref=app
30th Jan 2018, 12:33 PM
...
30th Jan 2018, 1:03 PM
VISHAL SRIVASTAVA
VISHAL SRIVASTAVA - avatar
+ 4
https://code.sololearn.com/c42l6uHhcRA8/?ref=app
3rd Feb 2018, 10:19 AM
Arun
30th Jan 2018, 9:24 AM
BlazingMagpie
BlazingMagpie - avatar
30th Jan 2018, 4:17 PM
capsloth
capsloth - avatar
1st Feb 2018, 7:21 PM
Luc Hariman Randrianomenjanahary
Luc Hariman Randrianomenjanahary - avatar