Compare commits

..

No commits in common. "73b22137e824db7be14658758f1958fed717fabb" and "9fd5e2de4c678f5edc002afe9a38a978bd6924d5" have entirely different histories.

2 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
*.txt

View File

@ -1,7 +1,7 @@
from itertools import combinations from itertools import combinations
def clean_input(txt): def clean_input(txt):
txt = str(txt).replace(" ","").lower() txt = str(txt).replace(" ","")
return txt return txt
def extract_date(txt): def extract_date(txt):
@ -27,8 +27,8 @@ def allcaps(x):
firstName = clean_input(input("First Name: ")) firstName = clean_input(input("First Name: "))
lastName = clean_input(input("Last Name: ")) lastName = clean_input(input("Last Name: "))
middleName = clean_input(input("Middle Name (or second last name): "))
nickName = clean_input(input("Nick Name: ")) nickName = clean_input(input("Nick Name: "))
middleName = clean_input(input("Middle Name: "))
birthDate = clean_input(input("Birth Date (DDMMYYYY): ")) birthDate = clean_input(input("Birth Date (DDMMYYYY): "))
day,month,year_long,year_short = extract_date(birthDate) day,month,year_long,year_short = extract_date(birthDate)
birthDate = day+month+year_short birthDate = day+month+year_short