-
-
Save amankharwal/20890427fc3ee0461991b6bb72d72710 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
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}'") | |
print(format_) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment