Anonymous user
Validate International Securities Identification Number: Difference between revisions
Validate International Securities Identification Number (view source)
Revision as of 18:40, 9 August 2016
, 7 years ago→{{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:
|