1. Pyroom
  2. Tutorials
  3. Teacher Mode
  4. Lock a Python task for your students

Lock a Python task for your students

A locked task keeps your instructions safe while students work on the code below them.

Intermediate Video coming soon. The steps below show everything the video will cover.

Steps

  1. Switch to Teacher Mode from Settings, Mode.
  2. Write the task for your students.
  3. Select Lock task now. Pyroom asks for a PIN, so only you can unlock the task later.
  4. Type a PIN twice and select Set PIN and lock. The instructions become read-only.
  5. Students still write code in the editor. The PIN works only on this device, so keep it to unlock the task later.
Read the transcript

Switch to Teacher Mode from Settings, Mode.

Write the task for your students.

Select Lock task now. Pyroom asks for a PIN, so only you can unlock the task later.

Type a PIN twice and select Set PIN and lock. The instructions become read-only.

Students still write code in the editor. The PIN works only on this device, so keep it to unlock the task later.

Try it in the Playground

Nothing to install and no account needed.

Open Playground →