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