import random
hp = 100
eh = 100
while hp > 0 and eh > 0:
print("Action? (attack, heal, nothing):")
act = input(">")
attack = random.randint(1, 30)
heal = random.randint(1, 15)
if act == "attack" or "Attack":
eh = eh - attack
print(attack)
print("eh = %s" % eh)
elif act == "heal" or "Heal":
hp = hp + heal
print("You have healed %s points" % heal)
print(hp)
Why is it that when I type heal, it runs the attack part as well? Even when I type neither attack nor heal it still runs the attack section.