Email Slicer: A program that extracts the username and domain from an email.
- The user will be asked to enter his/her email address.
- The program will format the input (to prevent some errors).
- The program returns the username and domain.
- Programmed in Python 3.8.5, uses CLI.
- Extracting username and domain:
- Extracting username and domain while ignoring white spaces " " and periods "." at the beginning and ending of the input:
- Invalid input (it does not contain "@"):