[Community Puzzle] Credit Card Verifier (Luhn’s algorithm)

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

This puzzle should be in Clash of Code and there can be no other point of view.

There are definitely details that could be added to make this a bit too challenging for a clash, or that at the very least should have been included in the puzzle version, like variable number of digits. As written it’s incredibly simple, yes.