<s> """<STR_LIT>""" <EOL> class LineItem : <EOL> def __init__ ( self , description , weight , price ) : <EOL> self . description = description <EOL> self . weight = weight <EOL> self . price = price <EOL> def subtotal ( self ) : <EOL> return self . weight * self . price <EOL> def get_weight ( self ) : <EOL> return self . __weight <EOL> def set_weight ( self , value ) : <EOL> if value > <NUM_LIT:0> : <EOL> self . __weight = value <EOL> else : <EOL> raise ValueError ( '<STR_LIT>' ) <EOL> weight = property ( get_weight , set_weight ) </s>
