The coding platform instructors wanted.

Students practice Python® themselves, in a place built for it, not a notebook they can hand to AI. You see how they got to an answer, not just whether they did.

Free for learners. Built by a coding instructor, for coding instructors.

Coding is learned in the reps. AI makes them easy to skip.

A notebook of exercises can be finished without writing a line. Multiple-choice quizzes can't tell you whether a student can code. And a correct final answer says nothing about how a student got there, or whether they did.

PyPractice started as one instructor's fix for that, and grew into the platform for practice, assessment and labs that he'd always wanted.

For instructors

Practice they actually do. Assessment that shows how they think.

Everything you need for an intro Python or analytics course: practice, quizzes and exams, and labs, in one place.

Practice students do themselves

Problems run in the browser with instant feedback from tests. Pasting into the editor is off by default, hints come one at a time, and practice follows the PRIMM progression (predict, run, investigate, modify, make). Spaced repetition brings problems back just before students forget them. Streaks and XP keep them coming back.

Real coding questions, graded for you

Quizzes and exams with code questions graded by running tests, alongside multiple choice, fill-in-the-blank, written and multi-part questions. Written answers go to a grading queue. Grades go to your Canvas gradebook automatically.

See the process, not just the answer

In notebook labs, every run, test result and edit is logged with a time, and in pair labs, with which student was driving. Export any attempt, with its code and full event log, for your own review or analysis. For assessments you can require full screen, block copy and paste, and detect tab switches; you'll see a count of attention signals per student.

Build your own

An exam builder and a notebook-style lab builder in the browser, with tests for every code cell. Import Jupyter notebooks. Save drafts, clone them, and edit safely after students have started.

Quackrates, the Tutor Duck

Tutor Duck, optional for your class

A Socratic tutor on practice problems that asks questions instead of giving answers. It's told never to show solution code, and its replies are checked before students see them.

Studentjust tell me what's wrong

QuackratesLet's look together. What do you expect total to be after the second time through the loop?

How it fits your course

  • No LMS needed: create a class, and students join with a code.
  • Canvas: add PyPractice as an LTI 1.3 tool. Students launch it from an assignment, signed in and enrolled, and grades flow back. Rosters sync, and one class can span several sections. Needs your Canvas admin to add the tool.
  • Other LMSs: Moodle, D2L, Blackboard and other LTI 1.3 platforms on request.
  • Content: 100+ problems from Python basics to data analysis with pandas, ready for introductory Python and introductory analytics. Add your own.
Request instructor access

For learners

Learning Python on your own?

Make a free account and start solving problems. Write real code in the browser, check it against tests, and build a streak. PyPractice brings problems back for review when you're about to forget them.

Price

Free for learners. Low-cost for schools: get in touch.

Tell us about your course and we'll set you up.

Questions

Does the AI write code for students?

No. Tutor Duck asks questions and points to hints. It's told never to give solution code, and its replies are checked before students see them.

Do I need Canvas?

No. Students can join your class with a code. Canvas adds automatic sign-in, roster sync and grade passback.

Can students still cheat?

The protections are deterrents, not locks: off-by-default paste, full screen, tab-switch detection. What makes the difference is the record of how work was done, and labs where students explain their thinking out loud.

What does it cost?

Free for learners. For schools, get in touch.

Instructors

Request instructor access

Tell us a little about your course. We'll get back to you by email.

Prefer email? Write to support@pypractice.org.