【发布时间】:2016-01-09 18:47:12
【问题描述】:
求正方形 PROGRAM 的面积
print("Finding the area of a square")
height = input("Please enter the height of your square\n")
width = input("Please enter the width of your square\n")
area = height * width
print("This is the area of a " + height + " x " + width + " square, " + area)
错误:不能将序列乘以“str”类型的非整数
【问题讨论】:
标签: python python-3.x