Added: 3 years ago
From: tylerneylon
Views: 5,691
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • This would be a nice tutorial for me if I wanted to learn Python or could learn Python. Right now, I cannot as I am learning JAVA.

  • awesome

  • of course there is a better way of doing this than using a recursive function (eek!)... but using a dict to memorize the values was tight.

  • thanks

    Using the dict as a default value for a function parameter still feels hacky to me. I could have used another global variable instead, but coders usually think of globals as even worse. I wish I could just use a static var, as in C-flavor languages. I guess the "right way" to do that in python is probably to build a class with a member variable, but that would have been way too much coding for a math-focused video.

  • Very informing!

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more