+ 3

100+ ways to draw a pyramid

you are invited to submit code that draws a pyramid , each one must use a different way to achieve the same result (the pyramid), it's not about which code is better , it's just a mind teaser aimed to improve your skills , ejoy😊

7th Jul 2017, 10:17 AM
Rabee Abbas
Rabee Abbas - avatar
9 Respostas
7th Jul 2017, 11:18 AM
Sumit
Sumit - avatar
+ 3
https://code.sololearn.com/c72yFuCMpde1/?ref=app
28th Oct 2017, 8:44 PM
Curly Fries
Curly Fries - avatar
+ 2
this is the basic code offered by sololearn https://code.sololearn.com/czJrFQk8Z41o/?ref=app
7th Jul 2017, 10:19 AM
Rabee Abbas
Rabee Abbas - avatar
+ 2
this is a code to draw pyramid using while loop https://code.sololearn.com/ccrhkzP8ql1n/?ref=app
7th Jul 2017, 10:20 AM
Rabee Abbas
Rabee Abbas - avatar
+ 2
this time I use recursive method to draw the same pyramid https://code.sololearn.com/clLwFXsccz4o/?ref=app
17th Jul 2017, 7:58 PM
Rabee Abbas
Rabee Abbas - avatar
+ 1
https://code.sololearn.com/cvX2vnS2ZsdU/?ref=app
7th Jul 2017, 11:01 AM
Dennis
Dennis - avatar
7th Jul 2017, 2:04 PM
Rabee Abbas
Rabee Abbas - avatar
7th Jul 2017, 6:27 PM
Boris Batinkov
Boris Batinkov - avatar
0
https://code.sololearn.com/cJOB8la3VeTv/?ref=app not quite a pyramid more a ramp ☺
18th Jul 2017, 4:01 AM
Jman
Jman - avatar