@aceprogramer/

Insult Generator(Safe and Swear version)

Python

*May contain swear words*

fork
loading
Files
  • main.py
main.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
#This is made to be a fun program and not to be taken literaly. 
#No matter what it says you are not an idiot piss donkey. :D
#Please try to enjoy this silly insault generator.

from random import choice
import time

def gen(nsfw):

    name = ["Gavyn", "John", "Brayden", "Bryce", "William", "Jacq", "Simon", "Sami", "North", "Alice", "Kara", "Alex", "Steve"]

    adj = ["stupid", "disgusting", "putrid", "lucid", "haggard", "dense", "sub-par", "terrible", "lazy", "idiot", "profain", "aggressive", "desperate", "saggy"]

    curse = ["poo", "fuck", "shit", "crap", "bitch", "ass", "sack", "idiot", "ice", "piss", "bloated", "turd"]

    curseSafe = ["poo", "sack", "idiot", "ice", "piss", "bloated", "turd"]

    noun = ["nugget", "ball", "pole", "wall", "llama", "dog", "cat", "donkey", "cup", "brain", "mouse", "butt", "idiot", "hat", "head", "pile", "crack"]
    if nsfw == "y":

        out = ('You {} {} {}!\r\n'.format(choice(adj),  choice(curse),  choice(noun)))
    else:
        out = ('You {} {} {}!\r\n'.format(choice(adj),  choice(curseSafe),  choice(noun)))

    print(out)






def main():
    cond = input("This program may contain inappopriate laguage. Type 'y' if you are okay with this and 'n' if you are not.\n").lower()
    print("")
    amount = int(input("How many insults would you like? "))

    for i in range(amount):
        gen(cond)
        time.sleep(0.1)
    main()


main()