If you'd like to print any code you are working on it the CodeHS editor, first click More> Print on the right side. Then click the Print button to print your code. A new page will open up, with nicely formatted code and a pop up a dialog to print it out.
Still have questions? Contact our team at firstname.lastname@example.org to learn more!