Created
March 10, 2020 15:27
-
-
Save Eising/052698315ee75bd831c7777babdd8e30 to your computer and use it in GitHub Desktop.
Generate random bogus company names
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def generate_company_name(self): | |
""" Try poorly to generate a unique company name """ | |
colors = [ | |
"Black", | |
"White", | |
"Red", | |
"Yellow", | |
"Magenta", | |
"Purple", | |
"Green", | |
"Blue", | |
"Brown", | |
"Large", | |
"Virtual", | |
"Hyper", | |
"Megacorp", | |
"Evil", | |
] | |
areas = [ | |
"Production", | |
"Industries", | |
"Technology", | |
"Consulting", | |
"Medical", | |
"Services", | |
"Systems" | |
] | |
thing = [ | |
"Hill", | |
"Stone", | |
"Arrow", | |
"Roads", | |
"Clouds", | |
"Forks", | |
"Islands", | |
"Lands", | |
"Atoms", | |
] | |
forms = [ | |
"Inc.", | |
"Ltd", | |
"Co", | |
"Corp" | |
] | |
name = "{} {} {} {}".format( | |
random.choice(colors), | |
random.choice(thing), | |
random.choice(areas), | |
random.choice(forms) | |
) | |
return name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment