Payal's Chapter 4 Exercises

by Payal Patel

27 Jan 2016

Chapter 4, Exercise 6:

Chapter 4, Exercise 7:

Reflection: While working on these exercises I found that I didn’t have to write a lot of new code. Since these functions were based off of previous exercises I was able to do some slight adjustments and additions to create the functions. I would say the most challenging part is making sure blocks are lined up correctly—I tend to get errors when things are nested inside one another if even one line is not indented where it should be. Overall, I found these exercises interesting, but not to challenging.

Payal is a junior at UNC-Chapel Hill majoring in Information Science. Find Payal Patel on Twitter, Github, and on the web.