Anonymous user
Luhn test of credit card numbers: Difference between revisions
m
→Procedural
m (→Procedural) |
m (→Procedural) |
||
Line 4,207:
j = int(ch[i])
if ((i + 1) % 2 != chParity):
if (j > 9):
sum = sum + j
print("value calculated = ", str(sum))
|