Created
December 26, 2021 13:21
-
-
Save CodeMaster7000/76f365fab4f0599111a0e6b3577c95ab to your computer and use it in GitHub Desktop.
An email slicer built in Python 3.
This file contains hidden or 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 = email[email.index('@') + 1:] | |
| print(f"Your username is {username} & your domain is {domain}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment