Function practice, loop manipulation.

Practice programs for day 2.