top of page
learn_data_science.jpg

Data Scientist Program

 

Free Online Data Science Training for Complete Beginners.
 


No prior coding knowledge required!

Email Splitter for Separating Username from Domain Name

This is my task # 01 for the first assignment from the task list uploaded in Google Classroom.

 

My Code Description:

- First the user will enter the email.

- Then the email will split into 2 parts which will saved in two variables assigned to the method split.

- Then print the username and domain name separately via print method.

 

What Is Split Built in Function:

- This method is used to split the given value/string as per the input symbol.

- Like in my case my email was hamza@outlook.com and used @ in split method so the email divided into 2 parts left (hamza) is the username and right (outlook.com)

- As I divided the string using "@" so it will not include in the divided parts.

 

Code Is Attached Below as a snip of Jupyter Notebook.



 

Thankyou.


Regards,

Hamza Khalid

1 comment

Recent Posts

See All

COURSES, PROGRAMS & CERTIFICATIONS

 

Advanced Business Analytics Specialization

Applied Data Science with Python (University of Michigan)

Data Analyst Professional Certificate (IBM)

Data Science Professional Certificate (IBM)

Data Science Specialization (John Hopkins University)

Data Science with Python Certification Training 

Data Scientist Career Path

Data Scientist Nano Degree Program

Data Scientist Program

Deep Learning Specialization

Machine Learning Course (Andrew Ng @ Stanford)

Machine Learning, Data Science and Deep Learning

Machine Learning Specialization (University of Washington)

Master Python for Data Science

Mathematics for Machine Learning (Imperial College London)

Programming with Python

Python for Everybody Specialization (University of Michigan)

Python Machine Learning Certification Training

Reinforcement Learning Specialization (University of Alberta)

Join our mailing list

Data Insight participates in affiliate programs and may sometimes get a commission through purchases made through our links without any additional cost to our visitors.

bottom of page