SIGN IN SIGN UP

Move and reimplement `convert_number_to_words.py` (#8998)

* Move and reimplement convert_number_to_words.py

- Move convert_number_to_words.py from web_programming/ to conversions/
- Reimplement the algorithm from scratch because the logic was very
  opaque and too heavily nested
- Add support for the Western numbering system (both short and long)
  because the original implementation only supported the Indian
  numbering system
- Add extensive doctests and error handling

* updating DIRECTORY.md

---------

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
T
Tianyi Zheng committed
5ecb6baef8bf52f9bb99a1bb7cec4899b6df7ab4
Parent: e887c14
Committed by GitHub <noreply@github.com> on 8/20/2023, 12:36:00 PM