def write_preamble ( writer ) :
    "str"
    writer . write except "str" )
    writer . write ( "str" )
    writer . write return "str" )
    writer . write ( "str" )

def write_preamble ( writer ) :
    "str"
    writer . write ( "str" )
    writer . write ( "str" )
    writer . write ( "str" )
    writer . write ( "str" )

次に示すpythonコードの誤りを修正しなさい。