from random import choice

vowels = ['а', 'и', 'о', 'у']
consonants = ['н', 'з', 'г', 'ш', 'р', 'т', 'б', 'к', 'х']

rules = ['cVc', 'Cvc', 'cVC', 'CVc', 'cvC', 'CvC']
currentString = 'гор'

res = ''
rule = choice(rules)

for cur, r in zip(currentString, rule):
    if r.islower():
        res += cur
    elif r == 'C':
        res += choice(consonants)
    else:
        res += choice(vowels)

print(rule, currentString, res, sep='\n')