import random vowels = "aeiou" kconsonants = "kstnhmr" def randomletter(array): return array[random.randint(0, len(array) - 1)] def name(): name = "" for i in range(random.randint(2, 3)): name += randomletter(vowels) name += randomletter(kconsonants) for i in range(random.randint(1, 2)): name += randomletter(vowels) return name names = [] for i in range(100): print(name())