#交互式输入房间的长和宽(平方米),并输入地毯单价平方尺(1平方米=9平方尺),算出最终的地毯价格
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原文:http://huzhongliang.blog.51cto.com/1817180/1890117