We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6241fc commit d0e75bbCopy full SHA for d0e75bb
src/validators/i18n/ru.py
@@ -50,7 +50,6 @@ def ru_inn(value: str):
50
control_number1 = sum([d * w for d, w in zip(digits, weight_coefs1)]) % 11
51
weight_coefs2 = [3, 7, 2, 4, 10, 3, 5, 9, 4, 6, 8, 0]
52
control_number2 = sum([d * w for d, w in zip(digits, weight_coefs2)]) % 11
53
- print(control_number1, control_number2, value)
54
return (
55
(control_number1 % 10) == digits[-2]
56
if control_number1 > 9
0 commit comments