diff --git a/Email Slicer/EmailSlicer.py b/Email Slicer/EmailSlicer.py new file mode 100644 index 00000000..e6506ad5 --- /dev/null +++ b/Email Slicer/EmailSlicer.py @@ -0,0 +1,5 @@ +email = input("Enter your email id - ") +username = email[0:email.index('@')] +domain = email[email.index('@')+1: ] +print("Username - ", username) +print("Domain - ", domain) diff --git a/Email Slicer/README.md b/Email Slicer/README.md new file mode 100644 index 00000000..543b0cfd --- /dev/null +++ b/Email Slicer/README.md @@ -0,0 +1,35 @@ + +![Star Badge](https://img.shields.io/static/v1?label=%F0%9F%8C%9F&message=If%20Useful&style=style=flat&color=BC4E99) +![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103) + + +# Email Slicer + + + + +## 🛠️ Description + +Email Slicer separates username and domain from the given email address. + +## ⚙️ Languages or Frameworks Used + +Language used is Python. There are no dependencies. + +## 🌟 How to run + +It is really simple to run the program. Simple head over to the directory where python file is saved and run the following command: +```python3 EmailSlicer.py``` + +## 📺 Demo +![Screenshot from 2021-10-02 15-20-43](https://user-images.githubusercontent.com/68545365/135711432-f9cac4e1-ba34-44da-ac56-3b867710fa71.png) + +## 🤖 Author + +Shruti Solani + diff --git a/README.md b/README.md index 0b8e93e6..12ed6def 100644 --- a/README.md +++ b/README.md @@ -201,12 +201,14 @@ SR No | Project | Description | Author 12 | Number Guessing | Number Guessing Game | [Shruti Solani](https://github.com/ShrutiSolani) 13 | Mad Libs | Mad Libs Game | [Shruti Solani](https://github.com/ShrutiSolani) 14 | Caesar Cipher | Simple Caesar Cipher encryptor and decryptor bulit with python | [FH089](https://github.com/FH089) +15 | Email Slicer | Email Slicer | [Shruti Solani](https://github.com/ShrutiSolani) ## ![image](IMG/like.svg) Our Contributors + ## ![image](IMG/muscle.svg) Feedback