Welcome To Our channel
In this video, you will learn to make credit card validator project using python. It's part-1.
***************************** code code code ******************************
making a credit card algorithm
part 1
def get_card():
while True:
card = int(input("Enter Card: "))
card_len = len(str(card))
if card_len (greater than) 13 and card_len (less than) 16:
print("Card okay for now.")
break
else:
print("card not in valid length")
continue
return card
making object
print(get_card())
***************************** code code code ******************************
So consider Giving a video a like, share it with your friends and Subscribe to our channel too for more videos.
Instagram: / rohitnarwal7988
Python book for beginners and intermediate people: https://www.amazon.com/Python-simple-...
Python book for advance topics: https://www.amazon.com/Advance-Python...