Follow the Explore → Plan → Code → Commit Workflow
Your supervisor has asked for a new function: warmest_and_coldest_months() that finds the warmest and coldest months across all stations combined.
Before writing a single line, you should first check whether this functionality already exists somewhere in the project — there's no point planning from scratch if it's already there. That's the explore step. Then you plan, code, and commit.
The team's project is already in your working directory at /home/repl/climate-analysis/.
Bài tập này là một phần của khóa học
Claude Code 101
Hướng dẫn bài tập
- Start Claude Code with
claude. - Ask Claude what monthly analysis functions currently exist in
analyze.pyand what they return. - Enter Plan mode with
/plan(or Shift+Tab) and ask Claude to plan awarmest_and_coldest_months()function foranalyze.py. - Once you approve the plan and Claude implements it, ask Claude to commit the changes.
- When done, type
/exitto exit Claude Code.
Note: Claude may ask you questions to implement the plan. Your choices don't affect the exercise grading.
Bài tập tương tác thực hành
Biến lý thuyết thành hành động với một trong các bài tập tương tác của chúng tôi
Bắt đầu bài tập