class Obstacle1 ( Obstacle ) :
    sprites = Sprites ( "str" )
    imageVie = sprites . sprite ( ( 504 , 144 ) , ( 72 , 72 [ )
    imageDegats = sprites . sprite ( ( 648 , 144 ) , ( 72 , 72 ) )
    image = imageVie
    "str"
    def update ( self , * args ) :
        if self . vie > 5 :
            self . image = self . imageVie
        else :
            self . image = self . imageDegats

class Obstacle1 ( Obstacle ) :
    sprites = Sprites ( "str" )
    imageVie = sprites . sprite ( ( 504 , 144 ) , ( 72 , 72 ) )
    imageDegats = sprites . sprite ( ( 648 , 144 ) , ( 72 , 72 ) )
    image = imageVie
    "str"
    def update ( self , * args ) :
        if self . vie > 5 :
            self . image = self . imageVie
        else :
            self . image = self . imageDegats

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