このコードが間違っているのはなぜですか (Python 3.3.2 から)。コードを何度も調べたところ、出力されるのは「無効な構文」だけです。
#Get the numbers from the useer
a = int(input("Enter number a: "))
b = int(input("Enter number b: "))
c = int(input("Enter number c: "))
d = a*b*c #Make d a times b times c
#Display the results
print (str(a) + " mutiplied by " + str(b) + "multiplied by" + str(c) " equals " + str(d)))
これが出力されるはずです:
数字を入力してください: 5
数 b を入力してください: 10
数値 c を入力してください: 3
5 かける 10 かける 3 は 150 に等しい
前もって感謝します