base = (.75)
hood = (.70)
pipeAura = (.9)
cloak = (.85)
glimmer = (.85)
null = (.78)
heap = (.88)
corrosive = (.75)
spiritBear = (.67)
spellShield = (.5)
berserkersBlood = (.5)
pipe = hood * pipeAura
antimage = spellShield * base
viper = corrosive * base
huksar = berserkersBlood * base
meepo = (.65) * base
veil = (1.25)
pudge = heap * base
input1 = input('What hero are you trying to kill?(antimage, viper, huskar, meepo, pudge)')
input2 = input('What item is the hero holding/using/affected by? (hood, pipeAura, cloak, glimmer, pipe, veil)')
input3 = input('is the hero affected by null field? (yes/no)')
userHealth = input("what is the hero's current hp?")
if input3 == null:
null = (.78)
else:
null = 1
magicResist = (1 - (input1) * (input2) * (null))
The context of many of these names and the idea may not make sense to many of you, but my problem is when i finish giving the input, it gives me the error" magicResist = (1 - (input1) * (input2) * (null)) TypeError: can't multiply sequence by non-int of type 'str'" I need help with this, and i am wondering why it considers them strings, even though all of the inputs trace back to floats with the defined variables