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

The "content" property in CSS

Guess The Number Game - You vs. Your Friend