Anonymous user
Validate International Securities Identification Number: Difference between revisions
Validate International Securities Identification Number (view source)
Revision as of 22:45, 6 August 2016
, 7 years ago→{{header|Python}}: not needed
No edit summary |
m (→{{header|Python}}: not needed) |
||
Line 377:
<lang python>def check_isin(a):
s = "".join(str(int(c, 36)) for c in a[:-1])
return ord(a[-1]) - 48 == (
list(map(check_isin, ["US0378331005", "US0373831009", "D56000543287", "AU0000XVGZA3",
|