Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
num+1
#11
yea now it makes sense, got it !
thank you very much !!
Reply
#12
It's a shame that people aren't taught about the stack these days and how when calling and returning from a function values are put on and removed. I think that helps with recursion because that's still what's happening with the recursive calls. The book Grokking Algorithms has some nice diagrams showing this (and other useful and interesting things) and code examples in Python.
Reply
#13
yea, i agree, it's something to work on...
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020