title: I have a loop i can't end on python
body: <p>I've been doing some Python's code for a course i'm in and i have a problem with a loop i can't end. I don't know where it comes from.</p>
  
  <p>I have tried to put a break on every single "elif" but that's not what i want, because I don't want it to end right after the "else" for example. I wouldn't mind on the other options though.</p>
  
  <p>I have also tried using "return" but maybe there's something i'm doing wrong because I cannot get it to work</p>
  
  <pre><code>from lxml import etree
  
  doc = etree.parse('Paises_XML.xml')
  raiz=doc.getroot()
  paises=doc.findall("pais")
  
  print("DATOS SOBRE HABITANTES EN CADA PAIS")
  print("""
      1- España
      2- Irán
      3- Alemania
      4- EEUU
      5- Libano
      6- Madagascar
      7- Salir
      """)
  
  eleccion=input("Introduzca un número referente a un país de la lista observable: ")
  
  while True:
  
      if eleccion== "1":
          print("")
          print (paises[0].find("nombre").text)
          print (paises[0].find("habitantes").text)
  
      elif eleccion== "2":
          print("")
          print (paises[1].find("nombre").text)
          print (paises[1].find("habitantes").text)
  
      elif eleccion== "3":
          print("")
          print (paises[2].find("nombre").text)
          print (paises[2].find("habitantes").text)
  
      elif eleccion== "4":
          print("")
          print (paises[3].find("nombre").text)
          print (paises[3].find("habitantes").text)
  
      elif eleccion== "5":
          print("")
          print (paises[4].find("nombre").text)
          print (paises[4].find("habitantes").text)
  
      elif eleccion== "6":
          print("")
          print (paises[5].find("nombre").text)
          print (paises[5].find("habitantes").text)
  
  
      elif eleccion== "7":
          print("")
          print("¡Hasta pronto!")
          break
      else:
          print ("Opción no válida, elija un número del 1 al 6 para mostrar la información del país correspondiente")
  </code></pre>
  
  <p>I just expect it not to do a loop, everything else is cool I think.
  I also wanted to implement an option which could show me every query i'm doing, like gathering them all in one, but I thought that was what was creating the loop so I deleted it.</p>