forked from horstjens/ThePythonGameBook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschimpfen.py
More file actions
30 lines (26 loc) · 1 KB
/
schimpfen.py
File metadata and controls
30 lines (26 loc) · 1 KB
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
# -*- coding: utf-8 -*-
import random as r
e=["ungewaschen", "verseucht", "fett", "ausgekotzt", "zickig", "großmäulig", "hirnverbrannt",
"breiförmig", "dauerrülpsend","nervig","ekelerregend","kopflos","blöd","vertrottelt"]
m=["Bock","Wurm","Esel","Nasenbär","Rotzlöffel","Volltrottel","Pfosten","Koffer"]
w=["Sau","Motte","Schlange","Blindschleiche","Wanze","Laus","Ratte",
"Zimtzicke","Nacktschnecke","Giftspinne","Schreckschraube"]
s=["Trampeltier","Stinktier","Faultier"]
q=["sehr","titanisch","unerträglich","unglaublich","alptraumhaft",
"außerirdisch","äußerst","absolut","voll","gigantisch"]
# männlich, weiblich oder sächlich ?
for x in range(10):
geschlecht = r.choice("mmmmmwwwwwwwwws")
if geschlecht == "m":
endung = "er"
hauptwort = r.choice(m)
elif geschlecht == "w":
endung = "e"
hauptwort = r.choice(w)
else:
endung = "es"
hauptwort = r.choice(s)
eigenschaft = r.choice(e) + endung
qa = r.choice(q)
satz = "Du {} {} {}!".format(qa,eigenschaft, hauptwort)
print satz