with open('poyeme.txt', 'r') as fichier:
poyeme = fichier.read()
poyeme = poyeme.lower()
voyelles = ['a', 'e', 'i', 'o', 'u', 'y']
consonnes = ['z','r','t','p','q','s','d','f','g','h','k','l','j', 'm','w','x','c','v','b','n']
for consonne in consonnes:
poyeme = poyeme.replace(consonne, random.choice(voyelles))
print(poyeme)
a'aiue ya aouae aiaaou
ye a a'eaa ye a
y'ayaooy!eaa!uoaa
ae eaia uaoaea eo iaayie
aayiaae uoi ya
ayieo ue ya aaaae
ae eeuu ae eoia aoua ou youai
auoi aue ae iuaae,aaeoo uyiaaaia.
ueaaaue u'ayeaae, aoaaey aoueeaa!
uaoa aea ueyoiaea
y'a=oua u'uo aoia
a'ai aeee aue a'aeaia uo!uaaa.
uoo ayaioou iuia,
uauu uia,aauuia
ye ayeuio aoua .ye aieaoo aouye
ae aaaaaiaaaaa$