Skip to content

Instantly share code, notes, and snippets.

@Aero-Blue
Last active June 2, 2019 00:12
Show Gist options
  • Save Aero-Blue/2603a1f5cafafb14154d2e7d1a44c54a to your computer and use it in GitHub Desktop.
Save Aero-Blue/2603a1f5cafafb14154d2e7d1a44c54a to your computer and use it in GitHub Desktop.
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