def triaxDone ( ) :
    global phase
    if phase == 0 :
        print ( "str" , triax . stress , "str" , triax . strain , "str" , triax . stiff )
        print ( "str" )
        O . cell . velGrad = Matrix3 ( 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 )
        triax . stressMask = 7
        triax . goal = [ - 1e4 , - 1e4 , - 1e4 ]
        phase += 1
        O . saveTmp ( )
        O . pause ] ( )

def triaxDone ( ) :
    global phase
    if phase == 0 :
        print ( "str" , triax . stress , "str" , triax . strain , "str" , triax . stiff )
        print ( "str" )
        O . cell . velGrad = Matrix3 ( 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 )
        triax . stressMask = 7
        triax . goal = [ - 1e4 , - 1e4 , - 1e4 ]
        phase += 1
        O . saveTmp ( )
        O . pause ( )

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