結果 : how to write format function in python