It’d be better to just use elif
each time instead of if-else
construction.
if b1a == "rock":
print("you gave him a concussion and made the rock your new weapon")
weapon = "rock"
elif b1a == "NIGERUNDAYO":
weapon = "tommy gun"
print("You ran so much that the beast got tired, then you took out a tommy gun and started shooting")
elif b1a == "slash":
print("you slashed his face with a hatchet. ")
else:
print("you had a heart attack because you didn't pick one of the options")
exit()
solved If statements & else not working as intended [closed]