Skip to content

hamzashabbir11/MoshPythonProgramming

Repository files navigation

MoshPythonProgramming

Programming with Mosh Course Repository 💛

  • Basics
  • Intermediate Concepts

A Simple Credit Card Masking Code Using List Concepts 💳💰

card_no =input('Enter 12 Digit Card No ')
l=[]
masked=''
for i in range(len(card_no)):
    l.append(card_no[i])

for j in range(0,12):

    l[j]='*'

masked=masked.join(l)
print(masked)
print(card_no)

🖤

About

Programming with Mosh Course Repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages