Hi @micseydel! First, thanks for your time.
If I'm not mistaken, "re" is a library of python and "fullmatch" it's inside to "re"
But I'm not sure about this...
Your other answer I don't understand... I think I'm passing a Comic but this is a string.
I am going to paste the other part of my code:
If I'm not mistaken, "re" is a library of python and "fullmatch" it's inside to "re"
But I'm not sure about this...
Your other answer I don't understand... I think I'm passing a Comic but this is a string.
I am going to paste the other part of my code:
elif (opcion == 2): print("Escriba el título del Comic: ") tituloComic = str(input("Título: ")) biblioteca = Biblioteca(None, tituloComic) * * * elif (opcion == 4): while True: print("""\n\n\n OPCIONES A MODIFICAR EN COMIC \n 1 - Autor/es 2 - Editorial 3 - Idioma 4 - Nº de páginas leidas 5 - Nº de páginas 6 - Regresar al menu anterior """) opcion4 = int(input("Seleccione una opción: ")) print("Comic: " + str(tituloComic)) if (opcion4 == 1): autor = str(input("Autor/es: ")) comic.setAutor(autor) elif (opcion4 == 2): editorial = str(input("Editorial: ")) comic.setEditorial(editorial) elif (opcion4 == 3): idioma = str(input("Idioma: ")) comic.setIdioma(idioma) elif (opcion4 == 4): paginasLeidas = str(input("Nº de páginas leidas: ")) comic.setPaginasLeidas(paginasLeidas) elif (opcion4 == 5): paginasTotales = str(input("Nº de páginas: ")) comic.setPaginasTotales(paginasTotales) * * * elif (opcion == 6): print(" \n\n DATOS DEL COMIC \n ") print("Título: " + str(biblioteca.getComic())) print("Autor/es: " + str(comic.getAutor())) print("Editorial: " + str(comic.getEditorial())) print("Idioma: " + str(comic.getIdioma())) print("Nº de páginas: " + str(comic.getPaginasLeidas())) print("Nº de páginas leidas: " + str(comic.getPaginasTotales()))I'm sorry if I'm not clear enough