Last active
June 2, 2019 00:12
-
-
Save Aero-Blue/2603a1f5cafafb14154d2e7d1a44c54a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Info: | |
def __init__(self, **kwargs): | |
print(kwargs) | |
class Main: | |
def __init__(self, input_method): | |
if input_method is "f": | |
exit() | |
elif input_method == "m": | |
kwargs = {"first": str(input("First: ")), | |
"last": str(input("Last: ")), | |
"addr1": str(input("Address: ")), | |
"addr2": str(input("Apartment or Suite: ")), | |
"city": str(input("City: ")), | |
"state": str(input("State: ")), | |
"zip": str(input("Zip: ")), | |
"ssn": str(input("SSN: ")), | |
"dob": str(input("DOB(FORMAT XX/XX/XXXX): ")), | |
"phone": str(input("Phone: ")), | |
"email": str(input("Email: ")), } | |
Info(**kwargs) | |
if __name__ == '__main__': | |
Main(str(input("(F)ile or (M)anual input: ")).lower()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment