My solution for Problem Set 6 of CS50: Introduction to Computer Science (https://www.edx.org/course/cs50s-introduction-to-computer-science).
a Python program that determines whether a provided credit card number is valid according to Luhn’s algorithm.
$ python credit.py
Number: 378282246310005
AMEX