generated from mwc/problemset_numberwords
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. |
||
---|---|---|
.commit_template | ||
.gitignore | ||
numberwords.py | ||
nw.py | ||
planning.md | ||
poetry.lock | ||
pyproject.toml | ||
test_numberwords.py |