Files
ola5doc/content/.stversions/leo_coquet/sources/Differance~20171216-170109.py
T

12 lines
289 B
Python

with open("ecriture_et_difference.txt", "r") as source:
# Split sentence into words
words = sentence.split()
print(words)
sentence = sentence.replace("c", "ss").replace("qu", "kh")
print(sentence)
with open(fichier_texte, "w") as destination:
destination.write(sentence)