Skip to content

Instantly share code, notes, and snippets.

Created Jan 16, 2021
What would you like to do?
email = input("Enter Your Email: ").strip()
username = email[:email.index("@")]
domain_name = email[email.index("@")+1:]
format_ = (f"Your user name is '{username}' and your domain is '{domain_name}'")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment