結果 : convert c sharp code to python