Hello everyone! kindly help me code this problem! the output should look like this!

*
* *
* * *
* *
*


thank you