Unit #3-01
STOP!!!
STOP!!!
Create a new AWS Instance for Unit 3:
use your dotfiles to recreate your PDE
―――――――――――――――
Learning Outcome
Learning Outcome
At the end of this lesson, you will be able to:
understand and use recursion
Review
Review
what is a function?
has parameters passed in
has a return value
is portable, hopefully!
Lesson
Lesson
read "Functions", Chapter 3, Computer Based Problem Solving
read "Recursion"
in 1 sentence, "recursion is a function that calls itself"
but unless you have a way out, a base case, you will end up in an infinit loop!
Daily Assignment
Daily Assignment
re-create the "Reverse the String" solution below that is in python, then test it out and prove it works
Extra
Extra
do the above in a second language
Reverse the String, using Recursion in Python
Reverse the String, using Recursion in Python