New course! Every coder should learn Generative AI!
Try a free lesson0
How to change my Yang Hui triangle into an isosceles triangle
1 Answer
0
Maybe increment from 0 up to the users input and then back down to 0 ?
In your code it starts off as tall as the users input and then it decreases down to 0