I am trying to get a loop that allows the user to pick "yes" or "no" and if not the program says invalid input and repeats. I just get invalid input every time and it won't give me a "yes" or "no"
def main():
  choice = raw_input("Would you like to open a file? (yes or no) ")
  while true:
    if choice is 'no':
      print("Goodbye")
      break
    elif choice != "yes" or choice != "no":
      print("invalid input")
      break   
    elif choice is 'yes':
      file = get_file()
      image = make_image(file)
      show_image(image)   
def get_file():
  file = pickAFile()
  return file
def make_image(file):
  image = makePicture(file)
  return image
def show_image(image):
  show(image)
main()
