Spaces:
Paused
Paused
File size: 339 Bytes
6e9e3f1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | # Ouvre ton fichier ASCII
with open("phoenix_ascii.txt", "r", encoding="utf-8") as f:
ascii_art = f.read()
# Remplace tous les @ par des espaces
ascii_art = ascii_art.replace("@", " ")
# Sauvegarde le résultat
with open("output.txt", "w", encoding="utf-8") as f:
f.write(ascii_art)
print("Remplacement terminé !")
|