Using Recursion To Print Left Aligned Pyramid (CS50 Mario)

preview_player
Показать описание
Similar to the CS50 Mario pset this video shows how to use recursion to print a left aligned pyramid of hashes.
Рекомендации по теме
Комментарии
Автор

Thank you so much. I've stuck in how this works from CS50 course for days.

darkviper
Автор

Thank you so much, I had a hard time understanding how this is working from the CS50 course, it doesn't explain that they're not being executed immediately

jojojawjaw
Автор

Instead of "(height -1) != 0" what I did was "n != 1", I thought it would be better :) Thanks for the video!

anaveronicaaponte
Автор

I don't understand how the first height that executes is 1 and not 5?

ATothFTW