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

Making GUI Calculator in Tkinter Python

Building my first ever game in Python - Rock Scissor Paper Game