monorepo/number-speller/caser.py
dogeystamp d479365a94
[number-speller] fixes
- if name == main added
- problematic filename for imports changed
- added caser.py
2024-05-23 19:22:02 -04:00

7 lines
165 B
Python

from number_speller import fmt_num
for i in range(int(3e5)):
print(f"\tcase {i}:")
print(f'\t\tprintf("{' '.join(fmt_num(i))}");')
print(f"\t\tbreak;")