Home
Random
Nearby
Log in
Settings
Donate Now
If Wikipedia is useful to you, please give today.
About Wikipedia
Disclaimers
Search
Luhn algorithm: Difference between revisions
Article
Talk
Language
Watch
View history
Edit
Browse history interactively
← Previous edit
Next edit →
Content deleted
Content added
Visual
Wikitext
Revision as of 01:07, 12 May 2016
edit
Wolframdioxide
(
talk
|
contribs
)
Extended confirmed users
1,313
edits
→
Description
← Previous edit
Revision as of 14:29, 8 June 2016
edit
undo
2001:6b0:1:1041:260a:64ff:fe43:1d8f
(
talk
)
→
Verification of the check digit
Next edit →
Line 114:
<source lang="python">
def digits_of(number):
return
[
list(map(
int
(digit) for digit in
,
str(number)
]
))
def luhn_checksum(card_number):