Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Credit card validator in Python ๐Ÿ’ณ
Play lesson

Python tutorial for beginners ๐Ÿ - Credit card validator in Python ๐Ÿ’ณ

4.0 (0)
8 learners

What you'll learn

This course includes

  • 14.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

#Python #tutorial #project # Python credit card validator program # 1. Remove any '-' or ' ' # 2. Add all digits in the odd places from right to left # 3. Double every second digit from right to left. # (If result is a two-digit number, # add the two-digit number together to get a single digit.) # 4. Sum the totals of steps 2 & 3 # 5. If sum is divisible by 10, the credit card # is valid 00:00:00 intro 00:00:59 Step #1 00:03:51 Step #2 00:05:16 Step #3 00:07:17 Step #4 00:07:36 Step #5 00:08:07 testing #'s 00:08:40 conclusion Test Credit Card Account Numbers American Express 378282246310005 American Express 371449635398431 American Express Corporate 378734493671000 Australian Bankcard 5610591081018250 Diners Club 30569309025904 Diners Club 38520000023237 Discover 6011111111111117 Discover 6011000990139424 JCB 3530111333300000 JCB 3566002020360505 MasterCard 5555555555554444 MasterCard 5105105105105100 Visa 4111111111111111 Visa 4012888888881881

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere