I was able to add the remaining numbers above 1000 without too much
difficulty. As I worked, I used number.py to test the numbers, which
helped correct errors early on and I didn’t have too many issues. I
think the planning really helped with this problem set. I only ran into
2 problems while debugging with test_numberwords.py. The first was not
including the word “and”, which was an easy fix. The second turned out
to be an error in test_numberwords.py as one of the numbers 588567 did
not match the english type. I changed the number to 589567 in the test
program which fixed that error. This problem set was one of the easier
assignments for me.
I was a bit surprised when I opened this code and started to read more
of the problem set because it involved writing out the numbers in
a different way than I had put in my plan. Once I got going, I
discovered both ways were pretty similar and this way involves
breaking down the number less and in different ways, such as using the
divide_with_remainder function rather than breaking down the number by
each place value. This method also involves less string combination,
which will make the code shorter. Ultimatley I found the coding to
be pretty straightforawrd and so far am encountering less problems than
compared to some of the labs. This is likely because the increased
time spent on the labs has helped me to master the skills and I am
able to more easily implement them here.
I feel like once I decided to look at each digit place (ones, tens,
hundreds, etc., this plan become more clear to me. As I got to the later
numbers, it seemed to rely heavily on the first parts, but I am eager
to start coding to test it out. If it doesn't work, I may need to adjust
the plan. I am eager to get started.)