codecombat吧 关注:1,811贴子:3,530
  • 1回复贴,共1

哥哥们…deja brew这一关怎么过啊

只看楼主收藏回复

全是e文,看不懂啊


来自iPhone客户端1楼2016-05-23 19:08回复
    var potionsOnTheWall = 10;
    var numToTakeDown = 1;
    while(true) {
    this.say(potionsOnTheWall + " potions of health on the wall!");
    this.say(potionsOnTheWall + " potions of health!");
    this.say("Take " + numToTakeDown + " down, pass it around!");
    potionsOnTheWall -= numToTakeDown;
    this.say(potionsOnTheWall + " potions of health on the wall.");
    }


    IP属地:广东2楼2016-06-23 19:22
    回复