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 Basic Structure of a Full-Stack Web App

Unlocking Web Design: A Guide to Mastering CSS Layout Modes