Where was double recursion explained? I Don't quite get the solution for Quiz 1 problem 3
Really sorry about that, I meant problem 3. which is http://dpaste.com/1344907/
2011 6.00sc? it probably wasn't explained - tho' the effect of that function looks familiar - did you watch all the lectures? you can play with it on pythontutor.com - http://tinyurl.com/l26px4e just adding a print statement helps http://dpaste.com/1345029/
wow didn't know anything like pythontutor existed. Thanks! i'll probably figure it out eventually if i mess with that.
looks like it is meant to scramble the text the inner function is always evaluated first - everytime you recurse you add a function onto the call stack - it would be nice to have an explanation of its intent maybe just to make our head explode
Join our real-time social learning platform and learn together with your friends!