I am new to python. I need help to program a code with which you can select a character to be replaced by another also selectable in a text file.
pregunta1 = input("Carácter para reemplazar : ") pregunta2 = input("Nuevo carácter : ") contenido = open("Archivo.txt", "r").read() contenido.replace(pregunta1, pregunta2)
This is my code.