結果 : how to break out of nested while loop python