Agentic Coding · Workshop · Schools & teaching

Python in Maths Lessons with Claude Code: A Workshop for Teachers

Use Claude Code to build small Python tools for your lessons, such as function plots, simulations and calculators, that you understand, adapt and use with confidence.

  • Workshops & trainings since 2014
  • jocapps GmbH · Freiburg, Germany
  • The team behind Mathe-VollLogo
Format
Workshop
Duration
1 day (7.5 hours)
Delivery
Live online · On-site (in-house) · Hybrid
Group size
6–14 participants
Level
Intermediate
Language
German or English

Tools: Claude Code · Python · Jupyter · Matplotlib · SymPy

Python in maths lessons makes functions, sequences and chance tangible, but preparing suitable notebooks takes time and ready-made examples rarely fit your own lesson. With Claude Code, a coding agent that works in the terminal, you describe what a tool should do and let it write, test and explain the code. In the workshop you create plots, simulations and small calculation aids for your topics. Along the way you learn to steer the agent with clear tasks and tests, so the code stays readable and mathematically correct.

Who the Python workshop with Claude Code is for

Maths and computer science teachers who use Python in class or want to introduce it, and who have some programming experience.

What you'll walk away with

  • Set up Claude Code and tailor it to teaching with a CLAUDE.md project file
  • Have function plots, sequences and simulations in Python created for specific lessons
  • Safeguard results with small tests and cross-checks in SymPy
  • Get code written so that students can read it and change it step by step
  • Prepare notebooks for use with Jupyter or in the browser

Typical scenarios

  1. For introducing derivatives, a notebook animates secant slopes approaching the tangent while students change the distance themselves.
  2. A dice simulation demonstrates the law of large numbers, and the teacher has the agent add comments written for students.
  3. For a project week, a small tool fits growth models to real data and shows the deviations graphically.

Does this fit your team?

Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.

Request dates

What the Python workshop with Claude Code covers

  1. How a coding agent worksTask, plan, code change, test: getting to know Claude Code in the terminal and setting sensible permissions.
  2. Project rules for teachingIn CLAUDE.md you define how code is commented, named and kept readable for students.
  3. Visualise and simulateFunction graphs, sequences and random experiments are built with Matplotlib to your specification.
  4. Mathematical safeguardsCross-checks with SymPy, edge cases and small tests keep faulty graphs out of the classroom.
  5. Preparing for classStructure notebooks, add student tasks and derive variants for different groups.

Before the Python workshop with Claude Code: prerequisites

  • Basic Python knowledge such as variables, loops and functions
  • A laptop with Python and access to Claude Code; we sort out the setup beforehand

Materials you keep

  • Several checked notebooks on your own lesson topics
  • A CLAUDE.md template with rules for readable teaching code
  • A checklist for verifying generated graphs mathematically

How it works

  1. Request with preferred datesTick the date proposals that suit you or name a period of your own.
  2. Short callWe talk about your goals, prior knowledge and the tools your team already uses.
  3. Agenda for your teamYou receive a plan tailored to your group, with exercises that match your subject and material.
  4. Course and materialsThe course runs online, on-site or hybrid, and you keep the materials afterwards.

Why train with us

  • jocapps GmbH has offered workshops and trainings since 2014. The topics have moved with the technology; today the focus is on agentic coding and prompt engineering.
  • Hands-on rather than slides: you practise on realistic examples from maths and STEM, or on your own tasks, code or prompts if you wish.
  • Online, on-site or hybrid, held in German or English.
  • jocapps GmbH is certified to ISO 27001 (information security) and ISO 9001 (quality management).

Questions about the Python workshop with Claude Code

Do students use Claude Code themselves in the workshop?

No, the workshop is for teachers preparing material. Whether and how students work with coding agents depends on age limits, school rules and licences, and is only touched on briefly.

Does this work with a different coding agent?

The approach carries over to tools such as OpenAI Codex or Cursor. We use Claude Code as the example and show which steps work similarly with other agents.

Do we need a school licence?

For the workshop a personal account per participant is enough. Which licence suits long-term use at your school is something to clarify with your school authority and the provider, as terms change from time to time.

Is the workshop held online or on-site, and in which language?

Both are possible: live online, at your premises (in-house) or hybrid. The course is held in German or English; you choose when you send the request.

Can the content be tailored to our team?

Yes. The agenda, examples and emphasis are agreed in the call beforehand, based on your team's prior knowledge, subjects and tools. On request we work with your own exercises, data or code.