我不断收到此错误
TypeError: unsupported operand type(s) for +: 'int' and 'str'
在我下面的代码中:
done = False
while not done:
if You.Hit_points > 0 and Opponent.Hit_points > 0:
move = raw_input("Would you like to make a move? (y/n) ")
if move == "y":
print "",You.name,"hit ",Opponent.name," by",You.Hit_points," hit points!"
Opponent.Health = You.Hit_points + You.Skill_points + Opponent.Health
谢谢!