Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from random import random
- from random import randrange
- from random import randint
- letters = "abcdefghijklmnopqrstuvwxyz"
- numbers = "0123456789"
- rand_letters = []
- running = True
- num = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
- let_2 = randrange(6, 12)
- num_2 = randrange(1, 3)
- rand_num = []
- while running:
- print("Select your operator: \n"
- "1) Generate your email\n"
- "2) Exit")
- choice = input()
- if choice == "1":
- print("Choose your domain:\n"
- "1) gmail.com\n"
- "2) yahoo.com\n"
- "3) yandex.com")
- domain_choice = input()
- initial = 0
- if domain_choice == "1":
- domain = "@gmail.com"
- while initial != let_2:
- let_3 = randint(0, 9)
- num_3 = randint(0, 9)
- rand_num.append(letters[num_3])
- rand_letters.append(letters[let_3])
- initial = initial + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement