python练习-地毯价格
wide=raw_input("enter the wide of the house")long=raw_input("enter the long of the house")
footprice=raw_input("pls enter the price of square foot")
area=int(wide)*int(long)
meterprice=int(footprice)*9
totalprice=meterprice*area
print "your house area have",area , "square meter"
print "you buy the carpet ,the Carpet price is ", totalprice
#print meterprice
页:
[1]