Why isnt my function working | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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