Jump to content

ISBN13 check digit: Difference between revisions

m
Line 1,673:
# isISBN13 :: String -> Bool
def isISBN13(s):
'''True if s is a valid ISBN13 string'''
'''
digits = [int(c) for c in s if c.isdigit()]
return 13 == len(digits) and (
9,659

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.