tabletop dice notation: edge case
tabletop dice notation: edge case: a task in smol-software-harbor (Harbor dataset). Der Würfel-Bot stürzt bei d20 (ohne Anzahl) mit einem ValueError aus int('') ab. Laut Docstring von parse() in dice.py bedeutet eine fehlende Anzahl einen Würfel, also (1, 20, 0) . Behebe das und prüfe mit python3…
The task
Der Würfel-Bot stürzt bei `d20` (ohne Anzahl) mit einem `ValueError` aus `int('')` ab. Laut Docstring von `parse()` in `dice.py` bedeutet eine fehlende Anzahl einen Würfel, also `(1, 20, 0)`. Behebe das und prüfe mit `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.