def shapearea():
shape = raw_input("What shape do you want to print? ")
if shape == "triangle" or "Triangle":
return trianglearea()
elif shape == "circle" or "Circle":
return circlearea()
elif shape == "square" or "Square":
return squarearea()
else:
shapearea()
shapearea()
このコードを使用すると、プログラムが壊れます。プログラムを登録するにはどうすればよいですか(たとえば)。
同じように「円」または「円」