That looks suspicious. Any random flight will cost 475?
Where is Los Angeles in the mix?
Should there be a value in the else clause?
Should there even be an else clause? Without it the function will retun None which is valid and appropriate in this scenario.
One of the best habits to form is four space indents. Sure we will find editors or sandboxes that default to two spaces, but they don’t buck four so there is a happy marriage. CC courses will more than likely look for or expect four. That is why I bring it up.
Reading on the web it turns out four spaces is the norm in the higher income range. Urban myth? Fake news? Worth considering? Good habits are what earn higher incomes. That for me would be the bottom line.