Comment on Why does the for loop repeat in this recursion?
dneaves@lemmy.world 10 months agoi starts at 0, checks if i is less than n (the first time it will be, no matter what), prints a “#”, then increments i by 1 and loops
Comment on Why does the for loop repeat in this recursion?
dneaves@lemmy.world 10 months agoi starts at 0, checks if i is less than n (the first time it will be, no matter what), prints a “#”, then increments i by 1 and loops