Why isnt my function working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why isnt my function working

My make() function worked once but I didnt change nothing and now It makes absolutely nothing. Whats the problem https://code.sololearn.com/wnmWb2VZM62E/?ref=app

7th Sep 2020, 9:36 AM
Yahya Bey
Yahya Bey - avatar
3 Answers
+ 1
Your function need to return a value
7th Sep 2020, 9:40 AM
Rei
Rei - avatar
+ 1
I don't know what's your desire output. Just saying that echo $a will output a triangle and you're missing echo, if that's what you want.
7th Sep 2020, 9:43 AM
你知道規則,我也是
你知道規則,我也是 - avatar
0
Thanks guys i mistakeky delete it I think
7th Sep 2020, 9:55 AM
Yahya Bey
Yahya Bey - avatar