to resubmit. Docstrings will be helpful to remind
myself of what a section of code does and will
also make it easier to find a certain section of
code.
Doc strings are useful becuase they can help you remember what
a block of code does. I think I will use them in the future because
they keep a record of what a block of code does, and can also be used to
refresh your memory on a block of code you had previosuly figured out.
I found it interesting that the range function can be used to avoid the
need for a long list in python. I also found it interesting that the
range does not use the last item (the maximum), so I added maximum+1 in
a couple of spots to make the output read more accurately. I was
surprised that it worked that easily, but am also wondering if there is
a way to use a range as inclusive of both the start and end value.
Another thing I am curious about is how to use ranges for a purpose
besides generating a list of numbers.
I thought the directions were very clear for the list iteration although
I did need to read through them several times, and tried to understand
what they were saying before opening the file. I then ran the original
code to see what it did, so I could compare my final product. As I
worked on the list iteration, I also kept the original code at top
commented out so I could refer to it, and did not delete it until I was
sure my iteration method worked. I was not totally sure if I could call
the list whatever I wanted to, but it seems like I could as long as one
of the names is singular and the other is plural. I feel like I have a
good grasp of iteration after this part.