World 1: First steps
Welcome to Pet World
- Your pet is lost in Pet World. Your program is its map.
- Each line your program prints is one move:
up,down,left,right. - Later you also find buried treasure with
dig.
Words for this world
| Word | Meaning |
|---|---|
| move | one step to the next square |
| order | which move comes first, next and last |
| star | walk on it to collect it |
One move on each line
- The pet reads your output from the top line to the bottom line.
- Trees and rocks block the way. Water is a splash!
print("right")
print("right")
print("down")
- Press Run and watch your pet walk. Then press Check.
Сложность 1/5 · 100 монет + небольшой бонус за первое завершение сегодня
Walk your pet home. Home is 3 squares to the right. Print one move on each line: up, down, left, right или dig.
Нажмите Запустить, чтобы увидеть результат здесь.
Сложность 1/5 · 100 монет + небольшой бонус за первое завершение сегодня
A tree is in the way. Go right, then down, then right to reach home.
Нажмите Запустить, чтобы увидеть результат здесь.
Сложность 1/5 · 100 монет + небольшой бонус за первое завершение сегодня
Collect the star, then walk home. Walk on the star square to collect it.
Нажмите Запустить, чтобы увидеть результат здесь.
Сложность 1/5 · 100 монет + небольшой бонус за первое завершение сегодня
Do not walk into the water! Go around the pond to reach home.
Нажмите Запустить, чтобы увидеть результат здесь.
Сложность 2/5 · 140 монет + небольшой бонус за первое завершение сегодня
Collect both stars, then go home. The pet starts on the right.
Нажмите Запустить, чтобы увидеть результат здесь.
Сложность 2/5 · 140 монет + небольшой бонус за первое завершение сегодня
Treasure is buried at the X. Stand on it and print dig. Then walk home.
Нажмите Запустить, чтобы увидеть результат здесь.