Validate International Securities Identification Number: Difference between revisions

m
→‎{{header|Python}}: the last character must be a digit
m (→‎{{header|Fortran}}: the last character must be a digit)
m (→‎{{header|Python}}: the last character must be a digit)
Line 553:
s.append(ord(c) - 48)
elif c.isupper():
if i == 11:
return False
s += divmod(ord(c) - 55, 10)
else:
Anonymous user