SIGN IN SIGN UP

Luhn algorithm (#4487)

* Luhn algorithm

Perform Luhn validation on input string
    Algorithm:
    * Double every other digit starting from 2nd last digit.
    * Subtract 9 if number is greater than 9.
    * Sum the numbers
https://en.wikipedia.org/wiki/Luhn_algorithm

* Update DIRECTORY.md

* Update luhn.py

* Update luhn.py

* Update luhn.py

* Update luhn.py

* Update DIRECTORY.md
Q
QuantumNovice committed
95a4957d9ed3913c9d73bbafa9f398afb31a839d
Parent: 10d38ea
Committed by GitHub <noreply@github.com> on 6/13/2021, 6:19:44 PM