Hunt 1: Typos
このページには最新のブラウザ(SharedArrayBuffer対応)が必要です。Chrome、Edge、Firefox、Safariを最新バージョンに更新してください。
English
How to hunt a bug
- Your pet wrote a program, but it is broken. You are the bug hunter!
- Step 1: press Run and read the red message.
- Step 2: find the line number in the message.
- Step 3: fix the line, then press Check.
Words for these hunts
| Word | Meaning |
|---|---|
| bug | a mistake in a program |
| error message | Python's note about what went wrong, and where |
| debug | find and fix bugs |
English
Read the message
pet = "Kit"
print(pet)
print("night")
- This program works. Break it on purpose: delete one quote and press Run. Read the message, then fix it again.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Your pet is stuck! This program should output Hello, Kit. Find the bug and fix it.
実行ボタンをクリックして出力を確認してください。
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Your pet is stuck! This program should output Kit. Find the bug and fix it.
実行ボタンをクリックして出力を確認してください。
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Your pet is stuck! This program should output Good night. Find the bug and fix it.
実行ボタンをクリックして出力を確認してください。
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Your pet is stuck! This program should output 3. Find the bug and fix it.
実行ボタンをクリックして出力を確認してください。
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
Your pet is stuck! This program should output Treats: 5. Find the bug and fix it.
実行ボタンをクリックして出力を確認してください。