CHALLENGE : PYRAMID in a Single Loop! 😊🔺©️ | Sololearn: Learn to code for FREE!
+ 9

# CHALLENGE : PYRAMID in a Single Loop! 😊🔺©️

Write a program to print the pattern of a PYRAMID using only a single loop statement. The best code will be chosen as the "BEST ANSWER"🏅🏆 So, get started now! 🏇 . NOTE: Comment a link of this challenge in your post, so that we can find you easily ! ! . Happy Coding! 😊

9th Feb 2018, 6:34 AM
Çůřîöş ßąšäñț 🇮🇳
22 Respuestas
+ 20
//RUBY rocks sometimes ... hahaha https://code.sololearn.com/cPCEzo712b4z/?ref=app
9th Feb 2018, 7:11 AM
Gaurav Agrawal
9th Feb 2018, 8:34 AM
LukArToDo
10th Feb 2018, 1:11 PM
Prabha_I
9th Feb 2018, 1:46 PM
Ipang
+ 9
had difficulties to use a loop. Finally i implemented one https://code.sololearn.com/cwIu3O1602k2/?ref=app
9th Feb 2018, 7:56 AM
Oma Falk
+ 9
https://code.sololearn.com/c5dKssOd49j8/?ref=app
9th Feb 2018, 8:55 AM
Käzî Mrîdùl Høssäîn
+ 7
Hello, everyone! I just did a triforce :) Zelda players, rejoice! (just type the width of a triangle and enjoy) https://code.sololearn.com/cHQDpvpn57vq/
9th Feb 2018, 6:55 PM
Pedro Maimere
+ 6
9th Feb 2018, 7:28 AM
Jonathan Pizarra (JS Challenger)
+ 6
As requested, a hollow pyramid: https://code.sololearn.com/WO40eGOY80gf/?ref=app
9th Feb 2018, 9:12 AM
Jonathan Pizarra (JS Challenger)
+ 6
https://code.sololearn.com/cG7HuvJjq2On/?ref=app math makes thing easy
9th Feb 2018, 9:52 AM
Arun
9th Feb 2018, 6:51 AM
Leonardo Medai Cossutta
+ 5
Guyz, Must also try to make a hollow Pyramid! 😊 That would be fun to see. 👌👌
9th Feb 2018, 8:42 AM
Çůřîöş ßąšäñț 🇮🇳
+ 5
Stylized version (permits hallow and not): https://code.sololearn.com/cilx3t3y33Mg/#py
9th Feb 2018, 11:30 AM
KrOW
+ 4
@guaraw ... yes if Ruby has to build monumentals it rocks and arranges them. late.... but got it!
9th Feb 2018, 8:48 AM
Oma Falk
+ 4
A try with Kotlin and recursion https://code.sololearn.com/cGpSUET6U8cf
12th Feb 2018, 4:05 PM
Oma Falk
9th Feb 2018, 7:43 PM
bedawang
+ 3
You all guys had did a great job. Awesome, keep learning.
10th Feb 2018, 6:57 PM
Çůřîöş ßąšäñț 🇮🇳
+ 2
9th Feb 2018, 8:45 AM
KrOW
9th Feb 2018, 12:17 PM
Francesco
+ 1
https://code.sololearn.com/cCuZ1yr42NFc/?ref=app
10th Feb 2018, 12:06 PM
SKELU21
En tendencia hoy