#Finding the volume of a box
print("Welcome to box volume calculation! Please answer the following questions.")
x = float(raw_input("How wide is the box? ")),
y = float(raw_input("How high is the box? ")),
z = float(raw_input("How long is the box? ")),
"The volume of the box is " + str(x*y*z) + " units cubed."
エラーメッセージ私は取得しています:あなたが入力を求めているところ"TypeError:型 'tuple'の非整数によるシーケンスの乗算はできません。
Traceback (most recent call last):
File "C:\Python25\Scripts\Randomness.py", line 22, in <module>
"The volume of the box is " + str(x*y*z) + " units cubed."
TypeError: can't multiply sequence by non-int of type 'tuple'
は、なぜあなたはコンマを末尾にしているのですか?チュートリアルや他のリソースがこれを示唆しているのは何ですか? – TigerhawkT3