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

Unlocking Web Design: A Guide to Mastering CSS Layout Modes