Email Slicer in Python


a = input("Plz enter your email address: ")
b,c = a.split("@")
d,e = c.split(".")
print("The username is", b)
print("The domain is", d)
print("The extension is", e)


 

Comments

Popular posts from this blog

Quotation marks to wrap an element in HTML

What is the difference between iostream and iostream.h in cpp?

The Basic Structure of a Full-Stack Web App