結果 : open and close function in python