Closed
Description
python-stdnum/stdnum/verhoeff.py
Line 113 in dc850d6
At the end of the calculation of the new checksum, you need to apply inv(c) function (see https://en.wikipedia.org/wiki/Verhoeff_algorithm )
inv = [0, 4, 3, 2, 1, 5, 6, 7, 8, 9]
Write unit tests please.
Check sum for 0241144346
-> 1
Metadata
Metadata
Assignees
Labels
No labels