and losses operation ''' . . . . . . class FloodCatetegory(object): ''' Purpose for generate data_banjir.csv to data_banjir_category.csv ''' . . . . . . class FloodBuildingImpactFunction(object): ''' This is the main class for generating report ''' . . . . . .
dala = Dala(type_name='building', category='C3') # show the result >>print dala Dala Object: {type_key:building, category:C3,price:5000000000.0, coefficient:0.91 } >>print dala.get_losses_value() 4550000000.0 >>print dala.get_price() 5000000000.0