email format

mail@pastecode.io avatar
unknown
plain_text
a year ago
212 B
1
Indexable
Never
email=str(input("email ="))
markedindex=email.find("@")
domainname =email[markedindex:]
dot=domainname.find(".")
if dot >= 0:
    print("your domain name is", domainname)
else:
    print("invalid email")