1234567891011121314151617 |
- fichier_texte = "differance.txt"
- # Write sentence as string
- sentence = "Ne nous arrêtons pas ici à ce qui peut ressembler à l'essence du mythique"
- # Print sentence
- print(sentence)
- # # 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)
|