numbers in words (cheques): edge case
numbers in words (cheques): edge case: a task in smol-software-harbor (Harbor dataset). words() in numwords.py va in errore ( IndexError o risultato assurdo) con i numeri negativi, che servono per le note di credito. Come dice la docstring, -7 deve diventare minus seven (e -1200 minus one thousand…
The task
`words()` in `numwords.py` va in errore (`IndexError` o risultato assurdo) con i numeri negativi, che servono per le note di credito. Come dice la docstring, `-7` deve diventare `minus seven` (e `-1200` `minus one thousand two hundred`). Correggi e verifica con `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.