Feedback: Deja Brew


#42

Thank you. I’m completely stumped. I can’t see where I’m messing up with my code.

potionsOnTheWall = 10
numToTakeDown = 1
while True:
    hero.say(potionsOnTheWall + " potions of health on the wall!")
    # Sing the next line:
    hero.say(potionsOnTheWall + " potion of health!")
    # Sing the next line:
    hero.say("Take " + numToTakeDown + " down, pass it around!")
    potionsOnTheWall -= numToTakeDown
    # Sing the last line:
    hero.say(potionsOnTheWall + " potions of health on the wall.")

#43

Use Search


In two of displayed topics you can find the answer of your question.


#45

oh my I knew I’d feel stupid. I forgot an s. Thank you.