Skip to content

Commit 5d0d76d

Browse files
add: Luhn algorithm
Luhn algorithm is mostly used for validation.
1 parent 2709e62 commit 5d0d76d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

luhn_algorithm_for_credit_card_validation.py

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
66
"""
77

8+
# TODO: To make it much more better and succint
9+
810

911
def verify_card_number(card_number):
1012
sum_of_odd_digits = 0

0 commit comments

Comments
 (0)