Comment on Why does the for loop repeat in this recursion?

xmunk@sh.itjust.works ⁨10⁩ ⁨months⁩ ago

So you’re drawing a triangle of # that starts skinny in the top left and grows to the right with a height and width of n?

As an example, Height 3 would be:

#
##
###

I’m not following your questions, but the code seems pretty reasonable.

source
Sort:hotnewtop