Not Breaking and won't repeat the Entry

You’re close, but not quite there.

  1. Initialize the Entry variable so that the while loop can test it.
  2. Move the input so that it’s the first operation of the while loop, then test for EXIT.
  3. Set up a if / elif / else branch routine (inside of the while loop), so that you have three tests. Hint: the first test will be for EXIT, then for a word in your dictionary, then for everything else, which will loop back unless we have an EXIT condition.

I’ve left out some detail here, so that you will fall over it and learn more by figuring it out, but if you’d rather have a complete solution, simply say as much.

The so-called Walrus operator that @vainaixr has suggested is one way, but, as a beginner, I would suggest that you acknowledge the existence of that operator, while at the same time avoid using it for now: it’s a relatively new operator, not widely used and not available with Python versions below 3.8

It’s a shame that you didn’t continue with your flights / connections project…

… as you would have had to have learned these kind of tests and loops, while developing that, still never mind.

edit done for a correction.