Luhn test of credit card numbers: Difference between revisions

Content deleted Content added
Toucan (talk | contribs)
adding gap
Toucan (talk | contribs)
Line 600:
 
List([49927398716, 49927398717, 1234567812345678, 1234567812345670], IsLuhn);
# [ true, false, false, true ]</lang>
 
# Will also work on strings, and will skip non-digits
IsLuhn("4-992-739-871-6");
# true</lang>
 
=={{header|Go}}==