Pretty much exactly as you have written it. You could put it inside a function as follows:
def fico_score(x1,x2,x3,x4,x5,w1,w2,w3,w4,w5):
return (x1*w1)+(x2*w2)+(x3*w3)+(x4*w4)+(x5*w5)
y = fico_score(1,2,3,4,5,1,2,3,4,5) # Call the function (here just with random numbers)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…