-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathday34_100c.py
47 lines (41 loc) · 1.36 KB
/
day34_100c.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import os, time
listOfEmail = []
def prettyPrint():
os.system("clear")
print("listofEmail")
print()
for index in range(len(listOfEmail)):
print(f"{index+1}: {listOfEmail[index]}")
time.sleep(1)
def spamming():
os.system("clear")
print("Spamming Begins!")
print()
for index in range(len(listOfEmail)):
print(f"{listOfEmail[index]}")
print("🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔")
print()
print("""Dear valued customer,
We are writing to offer you the opportunity to purchase the finest potatoes on the market at unbeatable prices. Our potatoes are grown with the utmost care and attention to detail, ensuring that they are of the highest quality and taste. Order now and receive a special discount on your first purchase. Don't miss out on this amazing offer!
Thank you for considering our offer.
Sincerely,
The Potato Company """)
time.sleep(5)
os.system("clear")
time.sleep(1)
while True:
print("SPAMMER Inc.")
menu = input("1. Add email\n2: Remove email\n3. Show emails\n4. Get SPAMMING\n> ")
if menu == "1":
email = input("Email > ")
listOfEmail.append(email)
elif menu =="2":
email = input ("Email > ")
if email in listOfEmail:
listOfEmail.remove(email)
elif menu == "3":
prettyPrint()
time.sleep(1)
elif menu == "4":
spamming()
os.system("clear")