這就是我的代碼,我不知道爲什麼程序會給我那個錯誤.. PD:我是初學者這種編程語言。**或pow()的不支持的操作數類型(s):'str'和'int'
import math
while True:
A=input("Escribe el Valor de la 1ra Variable : ")
B=input("Escribe el Valor de la 2da Variable : ")
C=input("Escribe el Valor de la 3ra Variable : ")
Ec1 = (B * -1)
Ec2 = (B ** 2 - 4 * A * C)
Ec3 = (2*A)
R = math.sqrt(Ec2)
X1 = Ec1 + R/Ec3
X2 = Ec1 - R/Ec3
print('''El Valor de Su Ecuacion Es:/n
X1 = %d
X2 = %d''' % (X1, X2))
[TypeError:不支持的操作數類型爲 - :'str'和'int'](http://stackoverflow.com/questions/2376464/typeerror-unsupported-operand-types-for-str - 和 - int) –