Can someone help me with this code please???
My code works perfectly EXCEPT for one thing. When I enter a letter it translates it to binary and then asks me for entering another letter. But when I enter my second letter (or3ª, or 4ª, or 5ª, and more), it gives me the same result that before. If I want it to tell me another letter I have to close the entire program and re-open it. I tried with a lot of things. Sorry, the code's instructions are in Spanish. Here is the code: print("Python Translator") print("""Divide tus palabras a letras. Despues copia y pega en algun lugar y continua con las demas letras. Favor de SOLO escribir letras Mayusculas. Si quieres escribir un espacio escribe ESPACIO. Para escribir otra letra cierra y abre el traductor, ya que si no escribira lo mismo. Gracias. Disfruta el taductor :)""") I1 = "Enter one letter: " I2 = "Enter one letter: " I3 = "Enter one letter: " I4 = "Enter one letter: " I5 = "Enter one letter: " I6 = "Enter one letter: " I7 = "Enter one letter: " I8 = "Enter one letter: " I9 = "Enter one letter: " I10 = "Enter one letter: " I11 = "Enter one letter: " I12 = "Enter one letter: " I13 = "Enter one letter: " I14 = "Enter one letter: " I15 = "Enter one letter: " I16 = "Enter one letter: " I17 = "Enter one letter: " I18 = "Enter one letter: " I19 = "Enter one letter: " I20 = "Enter one letter: " I21 = "Enter one letter: " I22 = "Enter one letter: " I23 = "Enter one letter: " I24 = "Enter one letter: " I25 = "Enter one letter: " I26 = "Enter one letter: " I27 = "Enter one letter: " I28 = "Enter one letter: " I29 = "Enter one letter: " A1 = "Another Letter?: " pr1 = input(I1) while pr1 == "A": print("01000001, ") pr2 = input(I2) while pr1 == "B": print("01000010, ") pr3 = input(I3) while pr1 == "C": print("01000011, ") pr4 = input(I4) while pr1 == "D": print("01000100, ") pr5 = input(I5) while pr1 == "E": print("01000101, ") pr6 = input(I6) while pr1 == "F": print("01000110, ") pr7 = input(I7) while pr