代码: long = float(input("请输入该矩形的长度:" )width= float(input("请输入该矩形的宽度:" ))area = long*widthprint("该矩形的面积为:" +str(area)) 相关文章: