Código
with open("que es.txt") as archivo: for linea in archivo: print(linea) bike = linea if bike == 'Hero': print("bike is Hero") elif bike == "Suzuki": print("bike is Suzuki") elif bike == "Yamaha": print("bike is Yamaha") else: print("Please choose correct answer")