These Javascript programs verify the checksum on ATM and credit cards and 10-digit ISBN's. Enter the number (no spaces) and push the right button.
View the source to see how they work. Exercise: translate them into Python.