Replit And Account Setup

Assignments On Replit

I’m getting an error when using .label and .goto, what do I do?

You need to add the file to the assignment manually. You can find the code for by downloading the file from another assignment that uses it (for example, 06.01 – Easiest Game in the World). Select the tab above the code editor and click the Download file button beneath the code editor.

Edit the assignment you wish to add the functionality to and click the Add new file button underneath the three dots at the top left of the code editor. You will be prompted with a message welcoming you to Project mode; click continue. You should now see as a tab above the code editor. Click the Add new file button again; this will create a tab called Click the three dots on this tab and click Rename and enter Copy the contents of the file into the code editor of this tab. Go back to the tab.

Try running the code below. If it works, you have edited the assignment correctly. If it doesn’t work, read through these instructions again and carefully check that you have completed each step. If you are still unsure, contact Zach Wingrave at for assistance.

from csinsc import *

print( + "Import successful." + Colour.reset)

label .test

answer = input("Type 'q' to quit:")

if answer != "q":
  goto .test

print( + "Test complete." +

How can I share my students’ work with parents/other teachers?

Have students export their assignment to a public Repl, and share the link from there. Above the Run button on a given assignment, click the export to repl button. In the page that loads, students can share their Repl in a variety of ways from the Share button at the top of the page. The simplest option is Share link, which can be sent via email or uploaded to an LMS. Students can also share just the output of their program (and not the code) by copying the link ending in at the top of the ouput terminal on the right hand side of the page.

Can I add my own assignment to the classroom?

Yes! Once you have imported our version of the classroom, you are free to alter it however you like to suit your needs. You may add your own assignments, edit existing ones, make use of projects, or experiment with automatic marking.

To add your own assignment, simply click the Create Assignment button on the right hand side of the classroom page. Write up your instructions on the right hand side (be sure to use the formatting options available) and provide any startup code in the code editor on the left hand side. Click Next and select your publishing and marking options. If you publish the assignment immediately, it will be available for students the next time they load the classroom page.

For more information on assignments, consider the official documentation.

Replit And The Classroom

I can’t find my classroom, what do I do?

Your classrooms can always be found at This page lists all classrooms that you have created, and those which you have been added to as a collaborator. As a teacher, you should have created the classroom on your account, following the instructions found in the teacher preparation slides in Lesson 1.

If you cannot see the classroom listed on your teacher dashboard at, check with your volunteer to see if they have set up the classroom on their account. If you have multiple accounts, ensure you are logged in with your CS in Schools email. You can check this by navigating to and checking the email address listed under the My Account menu underneath your profile information.

For more information on managing classrooms, consider the official documentation.

How do I add my volunteer to the classroom?

From the classroom page, scroll down to the Teachers section. Click the Collaborate button on the right hand side and enter your volunteer’s CS in Schools email address. They will receive an email at this address inviting them to join the classroom. Once your volunteer follows this link they will be listed as a teacher and will be able to find the classroom at on their account.

For more information on managing classrooms, consider the official documentation.

How can I use in my reporting/LMS? classrooms provide a structure for assessment using assignments. You can read more about assignment submission workflow here. You may still wish to reflect these results in your school’s own reporting or learning management system. How you do this is entirely up to you as a teacher. We make the following suggestions (note that these suggestions are neither exhaustive nor prescriptive):

  • Download a spreadsheet (.csv) of student results from and upload into your LMS for whole-class progress. You can then select individual student rows for student-specific information. The spreadsheet is available from the classroom page under the Student Overview section. Click the Enrolled link to show the list of students who are enrolled, and click the Export as CSV button above the list of names. You will receive an email to your registered email address containing the .csv attachment.
  • Capture student submission URLs for references to individual assignment attempts. These can be found by navigating to student submissions via the classroom page, either per student or per assignment. The URL will be of the form<submission_id>. Note that this URL will only be visible to you if you are logged in as a teacher and have access to that classroom; other teachers and parents will not be able to view this link.

For more information on exporting classroom data, consider the official documentation.

Can I set up multiple classrooms on

Yes! This is done by cloning an existing classroom. From, click the three dots on the bottom right hand corner of the classroom you wish to clone, and click the Clone option. Give your new classroom a name and click Okay. Repeat this process for as many classes as you need.

We recommend you rename each classroom you create so that you can easily differentiate between them. You may also which to change the picture and description of each class for your own benefit. To do this, click the three dots on the bottom right hand corner of the classroom you wish to edit, and click the Edit option. Change whatever values you want here and click Save.

For more information on managing classrooms, consider the official documentation.

Can I enrol myself into the classroom as a student?

Yes! In fact, we highly encourage you to do this. Simply follow the steps for enrolling students from the teacher preparation slides in Lesson 1, but when you get to the step of copying the invitation URL, just paste it into a new tab instead.

Since you are already logged into a account, this link will automatically redirect you to, where you will see the new classroom that you’ve just enrolled into. You can always alternate between the teacher and student views by switching between and You may want to ask your volunteer if they can provide feedback to your assignment submissions as you complete each task.

You may see other classrooms here, you can either ignore these or unenrol from them by clicking the Unenrol button from the three dots menu on the bottom right hand corner of the classroom.

For more information on managing classrooms, consider the official documentation.


For more information, please contact Zach Wingrave at