Netease Geek Wars Official Guide - Dungeon -Kithgard librarian

Connection points:

https://codecombat.163.com/play/level/kithgard-librarian

Assistance to the friendly librarian!

Brief introduction

Most level has prompted quite useful when your card off.

Click next to view all tips checkpoints.

In this off, click on 'Next' to find the door to the library password!

The default code

# You need the library door open password!
# Password at the prompt!
# Please click on the code window "hint" button.
# If you encounter difficulties in the level, click the "Tip" button!
hero.moveRight ()
hero.say ( "I do not know the password!")  # delta

Overview

Welcome to the tips!

Most levels include the ability to help you with your goals and learn new programming concepts additional information.

look:

Open the door to the library password is: "Hush"

Tip: Use the door to say the password function say!

Hint: The password as a string, then we should use the quotation marks around it, but also pay attention to uppercase and lowercase letters.

If you encounter difficulties can not be resolved in later levels, make sure to view the help!

Kithgard librarian Solution

hero.say ( "What's the password?")
# You need the library door open password!
# Password at the prompt!
# Please click on the code window "hint" button.
# If you encounter difficulties in the level, click the "Tip" button!
hero.moveRight ()
hero.say("Hush")
hero.moveRight ()

 

Guess you like

Origin www.cnblogs.com/codecombat/p/12078336.html