PrintingStarPattern | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

PrintingStarPattern

I have written a code that takes input from user and prints a star pattern according to the input. but when I'm trying the code in repl.it website is showing an error... I'm giving the link to the code. https://code.sololearn.com/cJE9OSCQHnTZ

18th Jun 2020, 4:45 PM
Subhadeep Paul
Subhadeep Paul - avatar
1 Réponse
0
It does print a pattern, but I think that website expects you to use a loop.
18th Jun 2020, 6:13 PM
Gen2oo
Gen2oo - avatar