commited all contents created by participants
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
|
||||
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)
|
||||
Reference in New Issue
Block a user