Hi,
I can’t find where’s the mistake in my code. I checked other posts…but with no sucess. Please help ?
potionsOnTheWall = 10
numToTakeDown = 1
while True:
hero.say(potionsOnTheWall + " potions of health on the wall!")
# Chantez la ligne suivante:
hero.say(potionsOnTheWall + " potions of health!")
# Chantez la ligne suivante:
hero.say(“take” + numToTakeDown + “down, pass it around!”)
potionsOnTheWall -= numToTakeDown
# Chantez la dernière ligne:
hero.say(potionsOnTheWall + “potions of healh on the wall.”)
pass
potionsOnTheWall = 10
numToTakeDown = 1
while True:
hero.say(potionsOnTheWall + " potions of health on the wall!")
# Chantez la ligne suivante:
hero.say(potionsOnTheWall + " potions of health!")
# Chantez la ligne suivante:
hero.say(“take” + numToTakeDown + “down, pass it around!”)
potionsOnTheWall -= numToTakeDown
# Chantez la dernière ligne:
hero.say(potionsOnTheWall + “potions of healh on the wall.”)
pass
sorry @Jeremy_Yu , that’s still not formatted properly.
potionsOnTheWall = 10
numToTakeDown = 1
while True:
hero.say(potionsOnTheWall + " potions of health on the wall!")
# Chantez la ligne suivante:
hero.say(potionsOnTheWall + "potions of health!")
# Chantez la ligne suivante:
hero.say('take' + numToTakeDown + 'down, pass it around!')
potionsOnTheWall -= numToTakeDown
# Chantez la dernière ligne:
hero.say(potionsOnTheWall + 'potions of healh on the wall.')
pass
Calm down.
Xython has a point. If the code isn’t formatted just say: please format your code and link the topic which tells you how to do it. 7 posts are not required.
Thanks
Danny
Ok, Ok. Let’s keep it calm.
You’re right, you didn’t “spam”, it’s just that sometimes you post quite a lot of posts which could confuse new users who are looking for help and other people trying to help them, when one or two posts would suffice. That’s all I’m saying .
I’m glad you help people at all, most users don’t.
Danny