email format
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")
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")