ISBN13 check digit: Difference between revisions
Content added Content deleted
(→{{header|Python}}: Pruned out an import, cycled lambdas rather than integers) |
|||
Line 1,692:
'''Test strings for ISBN-13 validity.'''
print('\n'.join(
repr((s, isISBN13(s))) for s
in ["978-1734314502",
Line 1,699:
"978-1788399083"
]
|