Nevermind...i beat the level


#1

im having trouble with the level, “deja brew” here is my code (i use python)

You can add strings together, and add numbers into strings.

Sing along, using string concatenation:

X potions of health on the wall!

X potions of health!

Take Y down, pass it around!

X-Y potions of health on the wall.

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


#2

whoops… i won the level :sweat_smile: