Differance~20171216-170109.py 289 B

1234567891011
  1. with open("ecriture_et_difference.txt", "r") as source:
  2. # Split sentence into words
  3. words = sentence.split()
  4. print(words)
  5. sentence = sentence.replace("c", "ss").replace("qu", "kh")
  6. print(sentence)
  7. with open(fichier_texte, "w") as destination:
  8. destination.write(sentence)