-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathTitleCreator.py
More file actions
executable file
·40 lines (32 loc) · 1.42 KB
/
Copy pathTitleCreator.py
File metadata and controls
executable file
·40 lines (32 loc) · 1.42 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
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python3
# We're now approaching enterprise grade.
from random import seed, choice
seed()
def ofprefix():
l = ['Viceroy', 'Commandant', 'Grand Poo-Bah', 'Archon', 'Duke', 'Chancellor', 'President', 'Marquis',
'Earl', 'Director', 'Chair', 'Head', 'Senior Director', 'Vice President', 'Dark Lord',
'Dread Lord', 'Czar', 'Khan', 'Emperor', 'Baron', 'Guru']
return choice(l)
def prefix():
l = ['Principal', 'Chief', 'Head', 'Lead', 'Senior', 'Master', 'Premier', 'Scrum Certified']
return choice(l)
def job():
l = ['Solutions', 'Systems', 'Network', 'Security', 'Compliance', 'Information', 'Scalability',
'Database', 'Platform', 'Storage', 'Cloud', 'DevOps', 'Blockchain', 'Serverless']
return choice(l)
def ofpostfix():
l = ['Engineering',
'Management', 'Development', 'Deployment', 'Technical Training', 'Operations', 'Architecture',
'Infrastructure', 'Technology', 'Administration', 'Thought Leadership', 'Shiny Things', 'Agility']
return choice(l)
def postfix():
l = ['Engineer', 'Architect', 'Jedi', 'Designer', 'Consultant', 'Manager', 'Officer', 'Leader', 'Janitor', 'Plumber']
return choice(l)
def ofornot():
l = ['1', '0']
return choice(l)
print("Congratulations! Your new title is:")
if ofornot() == '1':
print(ofprefix() + ' of ' + job() + ' ' + ofpostfix())
else:
print(prefix() + ' ' + job() + ' ' + postfix())