Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 859 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 859 Bytes

email_slicer

Email Slicer: A program that extracts the username and domain from an email.

Details:

  • 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.

Run:

  • 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 "@"):