IBAN: Difference between revisions
→{{header|Lobster}}
No edit summary |
|||
Line 2,380:
def isValidIBAN(iban: string) -> bool:
if s.length == ccToLen(s):
return rotmod97(s) == 1
else:
return false
assert isValidIBAN("GB82 WEST 1234 5698 7654 32")
|