Explore what CodeHS has to offer for districts, schools, and teachers.
Click on one of our programs below to get started coding in the sandbox!
View All
A method used to read a single line from a file. It returns the line as a string, including the newline character at the end.