import random
import string
def generate_random_email():
username = ''.join(random.choices(string.ascii_lowercase, k=8))
domain = ''.join(random.choices(string.ascii_lowercase, k=6))
extension = random.choice(["com", "net", "org"])
email = f"{username}@{domain}.{extension}"
return email
# Example usage
random_email = generate_random_email()
print("Random Email Address:", r
andom_email)
import string
def generate_random_email():
username = ''.join(random.choices(string.ascii_lowercase, k=8))
domain = ''.join(random.choices(string.ascii_lowercase, k=6))
extension = random.choice(["com", "net", "org"])
email = f"{username}@{domain}.{extension}"
return email
# Example usage
random_email = generate_random_email()
print("Random Email Address:", r
andom_email)