結果 : python how to exit a function early